Skip to content

Commit

Permalink
Simulink S-function: Fix argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
bjonkman committed Jul 14, 2022
1 parent 5c65c7a commit d37e809
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions glue-codes/simulink/src/FAST_SFunc.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ static void mdlInitializeSizes(SimStruct *S)
if (checkError(S)) return;

FAST_Sizes(&iTurb, InputFileName, &AbortErrLev, &NumOutputs, &TMax, &dt, &ErrStat, ErrMsg, ChannelNames, &TMax, InitInputAry);
FAST_Sizes(&iTurb, InputFileName, &AbortErrLev, &NumOutputs, &dt, &TMax, &ErrStat, ErrMsg, ChannelNames, &TMax, InitInputAry);
n_t_global = -1;
if (checkError(S)) return;

Expand Down

0 comments on commit d37e809

Please sign in to comment.