Script won't run..
Afficher commentaires plus anciens
I have written a script quadpoly.m into my current path.After running it,i get the message
'??? Undefined function or variable 'quadpoly'.'
Thereafter i tried 'which quadpoly' and i get the response
' Has no license available '
I am using matlab on the university's server.By the way, the script doesn't depend on any toolbox.
Réponse acceptée
Plus de réponses (3)
Jan
le 13 Juil 2011
1 vote
If QUADPOLY is a function of a Matlab toolbox, re-using the name can cause such strange problems. An undocumented copyprotection mechanism seems to check filenames...
So if you are sure that you do not use a function whichyou do not have a license for, try to rename the script.
1 commentaire
Fangjun Jiang
le 14 Juil 2011
I searched the function list on Mathworks website. quadpoly doesn't appear to be in the list.
Fangjun Jiang
le 13 Juil 2011
0 votes
I am assuming you are using a shared license. Even when you are in the MATLAB command window, the MATLAB license you got when you started could be timed out. The error indicates that you don't have the license to run the MATLAB which command.
Sean de Wolski
le 14 Juil 2011
0 votes
When you open MATLAB is there something in the command window that reads along the lines of:
"Your license will expire in X days" or "Your license has expired please contact your systems admin"?
Before you clc it away? Close MATLAB, restart it and let us know.
Catégories
En savoir plus sur Install Products dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!