Troubleshooting Real-Time Simulation Issues
Avoid Computer Overloads and Unacceptable Simulation Results
A model is not real-time capable if, during simulation on real-time target hardware, it overloads the CPU or produces results that do not match your theoretical calculations or experimental data. To make your model real-time capable, use the workflows in Real-Time Model Preparation Workflow and Real-Time Simulation Workflow. For examples that show how to:
Analyze and modify the fidelity of your model for real-time simulation, see Estimate Computation Costs, Reduce Computation Costs, Determine System Stiffness, Reduce Numerical Stiffness, and Reduce Zero Crossings.
If you cannot find a combination of solver settings and model fidelity that makes your model real-time capable, consider one of these options:
Execute your real-time application on a faster target machine.
Configure the networks in your model so that they are independent of each other, and then partition them for parallel simulation on individual target computers. For information, see Multicore Programming with Simulink