Script not found in the Command Windows
4 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Paul Hoffrichter
on 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 Comments
Paul Hoffrichter
on 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.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!