Script not found in the Command Windows
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MatLab 2016b
script are not recognized in the Command Windows
A script essai.m has been defined
when I type in Command Windows
>> essai
the following error message occurred /
Undefined function or variable 'essaiscript'.
0 commentaires
Réponses (2)
Paul Hoffrichter
le 26 Mar 2021
I am expecting that you will get the following:
>> which essai
'essai' not found.
Write down the folder where your essai.m file is located.
Go to the Home tab.
Hit the "Set Path" button in the ENVIRONMENT section.
You probably are not seeing the folder in the Set Path window.
Hit the Add Folder button; browse to the folder that has the essai.m file; and hit "Select Folder"
2 commentaires
Paul Hoffrichter
le 27 Mar 2021
You are welcome! If it is working now, do not forget to hit the ACCEPT button so others will be able to get the answer also.
Voir également
Catégories
En savoir plus sur Environment and Settings 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!