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

2 visualizzazioni (ultimi 30 giorni)
I receive the error:
  2 Commenti
dpb
dpb il 16 Giu 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 il 16 Giu 2019
Not in this case. sisotool is a true function and permits a return value.

Accedi per commentare.

Risposte (2)

Walter Roberson
Walter Roberson il 16 Giu 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 il 16 Giu 2019
Thank you very much sir Walter Roberson .....OK it's done

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by