Script not found in the Command Windows

8 次查看(过去 30 天)
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'.

回答(2 个)

Paul Hoffrichter
Paul Hoffrichter 2021-3-26
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 个评论
Paul Hoffrichter
Paul Hoffrichter 2021-3-27
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.

请先登录,再进行评论。


Michel HOSPITAL
Michel HOSPITAL 2021-3-29
OK

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by