For best results, it is recommended that you build, simulate, and test your model incrementally. Start with an idealized, simplified model of your system, simulate it, verify that it works the way you expected. Then incrementally make your model more realistic, factoring in effects such as friction loss, motor shaft compliance, hard stops, and the other things that describe real-world phenomena. Simulate and test your model at every incremental step. Use subsystems to capture the model hierarchy, and simulate and test your subsystems separately before testing the whole model configuration. This approach helps you keep your models well organized and makes it easier to troubleshoot them.
- Troubleshooting Simulation Errors
Interpreting and fixing Simscape simulation errors.
- Resolving Issues with Nonlinearities
Troubleshoot simulation and code generation issues associated with nonlinearities.
Describes restrictions and limitations on using Simulink tools in Simscape models.