Is there support in Matlab 2012b and up for using Bus objects in a level-2 M S-function??
이전 댓글 표시
Is there support in Matlab 2012b and up for using Bus objects in a level-2 M S-function??
If not, any work-around possible to work with a "struct-like" data type in such an S-function?
Kind regards,
Erwin
답변 (1개)
Zack Peters
2013년 10월 24일
0 개 추천
Hi Erwin,
Currently, there is no way to pass bus objects with varying data types into a level-2 MATLAB S-Function. I would suggest either breaking up the bus object/structure with bus selector blocks and passing multiple inputs into the s-function or considering using a C S-function which can be much more versatile.
~Zack
카테고리
도움말 센터 및 File Exchange에서 Create MATLAB S-Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!