Clear Filters
Clear Filters

State Flow Error - occurs when trying to run

1 view (last 30 days)
Hello,
I am trying to get stateflow to run I get the model error from an unknown source reported by simulink "Error using ===> create_file_name info at 267 unexpected compiler".
How would I correct this error?
  2 Comments
Kaustubha Govind
Kaustubha Govind on 22 Sep 2011
Try running "mex -setup" and run the model again. Note that you need to have a supported compiler installed. Look at the list on the following page corresponding to your version and platform: http://www.mathworks.com/support/compilers/previous_releases.html
Fabian
Fabian on 24 Jan 2013
Had the same problem
Thank you Kaustubha for the help

Sign in to comment.

Accepted Answer

Andreas Goser
Andreas Goser on 22 Sep 2011
Along the lines of Kaustubha's comment. The most frequent failure mode is, that users do not know that
  1. Stateflow always needed a C Compiler, but the LCC Compiler came within a Win32 installation
  2. There is no C Compiler installed with Win64 MATLABs
  3. BUT: There is always a supported free of charge MSVC Express edition compiler
Also interesting: Preparing for 64 Bit

More 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!