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 ExchangeGeneral Applications についてさらに検索

製品

リリース

R2019b

質問済み:

2022 年 3 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by