How to get Data type of stateflow input through script?
显示 更早的评论
How to get Data type of stateflow input through script?
1 个评论
The Matlab Spot
2013-12-13
Do you want the data type to be compile time or defined in the data explorer?
采纳的回答
更多回答(1 个)
The Matlab Spot
2013-12-13
To get the data type of the input of the stateflow at compile time (for data set as inherit from Simulink)
1. Compile the model using
[sys,x0,str,ts] = model_name([],[],[],'compile');
2. Get the Statflow block input port's compiled port data type
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!