MATLAB Matlab error message needs help

  • Thread starter Thread starter lcc118
  • Start date Start date
  • Tags Tags
    Error Matlab
AI Thread Summary
The discussion centers on an error encountered while running a SIMULINK model using a Matlab M-function. The specific error message indicates that the system cannot recognize 'Nov20_model_sfun.bat' as a command, suggesting that the batch file may not have been created successfully. Possible reasons for this issue include an unreported error during the batch file creation process or permission issues preventing its execution. Users are advised to check for the existence of the batch file and investigate potential permission settings that could be affecting its creation or execution.
lcc118
Messages
1
Reaction score
0
Hi all,
I am running a SIMULINK model using a Matlab M-function and found an error message which I cannot handle.
Can anyone give some suggestions for possible solution:

The error message is as follows:

[
Making simulation target "Nov20_model_sfun", ...


'Nov20_model_sfun.bat' is not recognized as an internal or external command,
operable program or batch file.
]

many thanks
Henry
 
Physics news on Phys.org
This is a complete stab in the dark. But my wild guess is that the software is creating a temporary batch file (Nov20...bat) and then trying to run it. When it tries to run it, the file isn't there.

It could be not there because some unreported error ocurred while trying to create it. or it could be permissions. Check if it's there.
 

Similar threads

Replies
4
Views
1K
Replies
2
Views
1K
Replies
9
Views
3K
Replies
6
Views
4K
Replies
3
Views
2K
Replies
1
Views
8K
Back
Top