Code generation failed in Simulink

2 views (last 30 days)
Eung Guillaume
Eung Guillaume on 25 Jun 2015
Commented: Walter Roberson on 25 Jun 2015
Hello everyone !
I am working on Simulink/Stateflow and I don't manage to operate it. Whatever the model is, I have the same error message
For exemple, in this case, I just put a Matlab function to multiply by 2 the input.
I searched for rtwtypeschksum.mat file but I didn't find it. Actually, I don't know why it does not work.
Did some have the same problem ?
Best regards
  1 Comment
Walter Roberson
Walter Roberson on 25 Jun 2015
It appears that one of the compiler options somehow got set to refer to a .mat file.
Try using
mex -setup C
to reset the options.
mbuild -setup
might be needed as well.

Sign in to comment.

Answers (0)

Categories

Find more on Complex Logic in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!