How do I use ssCallSimulinkFunction?
3 ビュー (過去 30 日間)
古いコメントを表示
Good day,
I want to create an S-Function that calls one or more Simulink Function blocks. I found the function “ssCallSimulinkFunction”, but it’s unclear for me how to use it, specifically the execInArgs and execOutArgs arguments.
Can you provide an example of the use of ssCallSimulinkFunction() and how to define the execInArgs and execOutArgs arguments?
Thanks.
0 件のコメント
回答 (1 件)
Suman
2024 年 7 月 29 日
Hi Arjan,
The execInArgs and execOutArgs are the inputs to the function being called. These are simply variables of type _ssFcnCallExecArgInfo which is a pointer to a struct type, on which you have to set the dataPtr and dataSizePtr. You can see this example here.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!