Stateflow® software runs on Windows® and UNIX® operating systems. Your MATLAB® installation documentation provides all the information you need to install Stateflow software. Before installing the product, you must obtain and activate a license (see instructions in your MATLAB installation documentation) and install prerequisite software (see Prerequisite Software for a complete list).
Before installing Stateflow software, you need the following products:
C or C++ compiler supported by the MATLAB technical computing environment
The compiler is required for compiling code generated by Stateflow software for simulation.
The 64–bit Windows version of the Stateflow product
comes with a default C compiler,
used for simulation and acceleration.
only used when another compiler has not been configured in MATLAB.
For platforms other than Microsoft® Windows or to install a different compiler, see Set Up Your Own Target Compiler.
For information about product dependencies and requirements,
If you have multiple compilers that MATLAB supports on
your system, MATLAB selects one as your default compiler. You
can change the default compiler by calling the
mex –setup command,
and following the instructions. For a list of supported compilers,
Note: If you are using Microsoft Visual C++® 2010 Professional (or earlier) or Windows SDK 7.1, the generated C code cannot contain any C structure greater than 2 GB. In a single chart, do not use data with an aggregate size greater than 2 GB or 400 MB with debugging enabled.
If you plan to run the Microsoft Windows version of the Stateflow product on a laptop computer, you should configure the Windows color palette to use more than 256 colors. Otherwise, you may experience unacceptably slow performance.
To set the Windows graphics palette:
Click the right mouse button on the Windows desktop to display the desktop menu.
Select Properties from the desktop menu to display the Windows Display Properties dialog box.
Select the Settings panel on the Display Properties dialog box.
Choose a setting that is more than 256 colors and click OK.