Generating Java code for simulation
This procedure assumes that you have set up your model to generate Java code.
To generate Java code for system simulation:
• Through Automatic Code Synchronizer (ACS), generate the Java code files.
For information about using ACS to generate code files, see
Overview of ACS.
When you create the Generation Settings Scheme through the Launch ACS/TDK dialog, ensure that on the Harness tab you select the Harness Class (specifies the initial state machine Class) and Classes to generate as stubs.
The Javafiles are generated in the target folder. You can now build your application and then perform the simulation through Modeler. For more information about simulation of an application, see
Overview of generating Java code for system simulation.