real_T datatype undefined in simulink generated code

I have a stateflow chart in my simulink model where I'm doing some calculations with some f32 variables. The code generated by matlab uses some variable called real_T which I understand is supposed to be a double but then when I compile it I get an error saying that 'real_T is undefined'.
How could I solve this issue? I have not yet found a solution. Please give me some tips if possible. Thanks!

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Simulink Functions 的更多信息

产品

版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by