Building the SySim model execution application (SySim)
After generating the Visual Studio project for the SySim model execution, you can build the SySim model execution application from Visual Studio. Alternatively, you can build the SySim model execution application from SySim.
To build the SySim model execution application from SySim
1. Ensure that you have generated the Visual Studio project and set up the Visual Basic form.
2. Start SySim.
3. In the SySim Simulator list, select the SySim Simulation Scenario Block for which you want to build the SySim model execution application.
4. In the Microsoft (TM) Visual Studio Control group, click the
Make Executable Only button.
The location and name of the built SySim model execution application is as follows:
<project directory>\bin\Debug\<SySim Project name>.exe
Where:
◦ <project directory> is the path specified in the Project Directory box in the SySim.
◦ <SySim Project name> is the name specified in the SySim Project Name box in the SySim.
If you are using a referenced Simulink model, after building the SySim model execution application you must build the Simulink shell. For more information refer to
Building the Simulink shellIf you are not using a referenced Simulink model, after building the SySim model execution application you can start the SySim model execution. For more information refer to
Starting a SySim model executionTo build the SySim model execution application from Visual Studio:
1. Ensure that you have generated the Visual Studio project and set up the Visual Basic form.
2. From
SySim, click the
Open Visual Studio button.
Or
From Visual Studio, open the Visual Studio project that SySim generated. The location and name of the Visual Studio project is determined by the Project Directory and SySim Project Name values that are set in SySim.
3. On the Build menu, click Build Solution, or
On the Debug menu, click Build <project name>.
The location and name of the built SySim model execution application is as follows:
<project directory>\bin\Debug\<SySim Project name>.exe
Where:
◦ <project directory> is the path specified in the Project Directory box in the SySim.
◦ <SySim Project name> is the name specified in the SySim Project Name box in the SySim.
If you are using a referenced Simulink model, after building the SySim model execution application you must build the Simulink shell. For more information refer to
Building the Simulink shellIf you are not using a referenced Simulink model, after building the SySim model execution application you can start the SySim model execution. For more information refer to
Starting a SySim model execution