program not working in newer version of matlab

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

What does
which TapSetUp
return?
I assume TapSetUp is not a subfunction of TapOpen
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 ...
"It appears that the "[nstr,estr]" function is not working in the newer version" &nbsp I does, try
>> ['abcd','.efg']
it ought to return on string 'abcd.efg'

Sign in to comment.

 Accepted Answer

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.

More Answers (0)

Categories

Asked:

on 7 Jan 2015

Edited:

on 8 Jan 2015

Community Treasure Hunt

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

Start Hunting!