Bad Handle Error

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?

 采纳的回答

Kaustubha Govind
Kaustubha Govind 2012-2-7

0 个投票

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?

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Block and Blockset Authoring 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by