Bad Handle Error

6 views (last 30 days)
koko kinder
koko kinder on 4 Feb 2012
Hi, what is bad handle error refer to? In an s-function code I always have to save the m-file to get it running again or this error confronting me. Any ideas?

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 7 Feb 2012
What is the exact error message? Guessing from your description, it might mean that the S-function block is not able to execute the MATLAB-file for some reason. Perhaps you are running the model outside of the directory where the MATLAB-file is present? Have you added the file to the MATLAB path?

More Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!