program not working in newer version of matlab

3 vues (au cours des 30 derniers jours)
Andy
Andy le 7 Jan 2015
Modifié(e) : per isakson le 8 Jan 2015
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 commentaires
per isakson
per isakson le 8 Jan 2015
Modifié(e) : per isakson le 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
per isakson le 8 Jan 2015
Modifié(e) : per isakson le 8 Jan 2015
"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'

Connectez-vous pour commenter.

Réponse acceptée

Sean de Wolski
Sean de Wolski le 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.

Plus de réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by