Why do I receive the error "Attempt to execute SCRIPT sisotool as a function"

2 vues (au cours des 30 derniers jours)
ABID Abderahmane
ABID Abderahmane le 15 Juin 2019
I receive the error:
  2 commentaires
dpb
dpb le 16 Juin 2019
Most likely is you tried to execute a line calling sisotool with a return value...altho we can't see your terminal from here to know exactly what code sequence you did execute to generate the error...attach that code and the error message all in context.
Walter Roberson
Walter Roberson le 16 Juin 2019
Not in this case. sisotool is a true function and permits a return value.

Connectez-vous pour commenter.

Réponses (2)

Walter Roberson
Walter Roberson le 16 Juin 2019
restoredefaultpath
rehash toolboxcache
might solve the problem. If not then command
which -all sisotool
Unless you are using a relatively old release you should see only one entry that is something like
toolbox/control/ctrlobsolete/sisotool.m
If you see multiple entries then the first one might be interfering with the others.

ABID Abderahmane
ABID Abderahmane le 16 Juin 2019
Thank you very much sir Walter Roberson .....OK it's done

Catégories

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by