program not working in newer version of matlab
3 views (last 30 days)
Show older comments
Good afternoon Matlab Community, At one point I was very proficient in Matlab commands and recently, gladly, realized that I will be using it a lot now in pharmacology for modeling and simulations.
Currently, in the lab, we have a program that runs only on Matlab 2009 (not sure if a or b) or earlier.
I installed Matlab 2014a and am getting this error message:
>> TapOpen
Undefined function 'TapSetUp' for input arguments of type 'char'.
Error in TapOpen (line 101)
TapSetUp([nstr,estr]);
It appears that the "[nstr,estr]" function is not working in the newer version of Matlab. I then installed the 2011b version and I am getting the same error message.
Is there any way, I can update these functions into the newer version of Matlab or what function calls am I supposed to change?
Thank you for your help.
Sincerely, Andy
3 Comments
per isakson
on 8 Jan 2015
Edited: per isakson
on 8 Jan 2015
Besides that I dislike spaces in filespecs, I cannot see anything wrong. Try (in the command window)
>> TapSetUp('abcd.efg')
it ought to throw an error, Cannot find file ...
per isakson
on 8 Jan 2015
Edited: per isakson
on 8 Jan 2015
"It appears that the "[nstr,estr]" function is not working in the newer version"   I does, try
>> ['abcd','.efg']
it ought to return on string 'abcd.efg'
Accepted Answer
Sean de Wolski
on 7 Jan 2015
That is not a command that ships with MATLAB but rather one that you got from someone else or downloaded or wrote. On the machine with it:
which -all TapSetUp
This will tell you where it is. Copy it onto the new machine, and add that directory to the path using addpath.
0 Comments
More Answers (0)
See Also
Categories
Find more on Startup and Shutdown 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!