in simulink, how to call functions (such as "quadv") which need to call function handles
古いコメントを表示
Kaustubha Govind answered another similar question earlier kindly. She mentioned: "Function handles were not supported in Embedded MATLAB Function blocks until fairly recently, additionally, fsolve is not amongst the functions supported for code-generation, which are the only functions that can be used directly in a Embedded MATLAB Function block."
Also she suggested to use "interpreted matlab funcion". This might be the easiest way to do so. Thanks for Kaustubha Govind's answer firstly.
Yet I think interpreted matlab function might cause the simulation slow.
I am wondering if there is other ways to solve this problem?
Hope people with the same experience could discuss here.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!