Stateflow Compiled Datatype different that the assigned one

2 views (last 30 days)
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?

Answers (1)

Vignesh
Vignesh on 1 Apr 2019
Can you post a simple model where you can reproduce this behavior?

Categories

Find more on Stateflow in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!