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!

Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 2 Mar 2022

Community Treasure Hunt

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

Start Hunting!