Stateflow Compiled Datatype different that the assigned one

I have a stateflow chart where I've defined a number of input busses. Each of these busses are defined in my Matlab workspace. In Model Explorer, I've selected the bus data type that I would like to use for each of these inputs, however upon compiling the code, the 'Compiled data type' seen in Model Explorer is not the same as the one I initially assinged. It seems to be randomly selecting a different bus data type from my workspace and compiling to that. Is there a way to lock the data type to the one I assign in model explorer?

回答(1 个)

Can you post a simple model where you can reproduce this behavior?

类别

帮助中心File Exchange 中查找有关 Decision Logic 的更多信息

产品

版本

R2016b

提问:

2019-2-8

回答:

2019-4-1

Community Treasure Hunt

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

Start Hunting!

Translated by