Code working on Matlab 2017 but not 2015

1 view (last 30 days)
Lucie Aman
Lucie Aman on 17 Dec 2018
Edited: madhan ravi on 17 Dec 2018
Hi,
I have a code working on my computer (Matlab R2017b), but when I want to use it on the lab computer (Matlab_R2015b), it doesn't work.
It's a code generating paired clicks to generate a P50 gating response.
The line with a problem is
Standard = GenerateTone(sf, Duration_standard, Freq); % , amp);
I don't know if it's possible to help with just one line of code!

Answers (1)

madhan ravi
madhan ravi on 17 Dec 2018
Edited: madhan ravi on 17 Dec 2018
I suspect it's a user defined function not in inbuilt function.
which GenerateTone -all %what does it show?

Categories

Find more on Audio I/O and Waveform Generation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!