matlab cannot see file on path
Mostrar comentarios más antiguos
Hi all,
I am running release 2014a under windows 7 professional with a network license.
I am executing a function (test.m) that makes a call to the function zeta.m. The functions test.m and zeta.m are both in my working directory. However, although matlab executes the function test.m, when this reaches the call to zeta.m matlab attempts to check out the symbolic Math Toolbox for which a license is not currently available. This returns the usual error:
License checkout failed. License Manager Error -4 Maximum number of users for symbolic_toolbox reached.
However, I don't want Matlab to attempt to check out this license but rather use the copy of zeta.m in the working directory. I thought Matlab always checked the working directory for functions before searching the wider path. It will be a bit annoying to have to rename all calls to zeta to avoid this error. Is there anyway to force Matlab to use the local zeta function and avoid trying to access the symbolic toolbox?
Any help appreciated.
Best wishes,
John
4 comentarios
Geoff Hayes
el 7 de Mayo de 2014
Hi John - that is my understanding too. Have you verified that your working directory is at the top of the MATLAB search path? You can also try typing which zeta -all (in the Command Window) to see what information it returns on function precedence (type help which for more details on this command).
John Anderson
el 8 de Mayo de 2014
John Anderson
el 8 de Mayo de 2014
Geoff Hayes
el 8 de Mayo de 2014
Interesting workaround, John.
Respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!