SIMULINK M-function batch file not recognized error

  • Context: MATLAB 
  • Thread starter Thread starter lcc118
  • Start date Start date
  • Tags Tags
    Error Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 4K views
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.