Guy on Simulink

Simulink & Model-Based Design

Results for: Uncategorized

Avoiding Unwanted Data Copies in Simulink Generated Code via Reusing I/O

Recently, we've had a few customers ask if it's possible to configure their models to alter values on a bus that goes into and out of their model without making a data copy. There are several ways... read more >>

Handling Errors in Post Simulation Callbacks

Today I want to share a simple trick I recently recommended to a user who was struggling with retrieving error messages from simulations.The Problem What this user described is that, when simulating... read more >>

Simscape and Operating Point Management

In MATLAB R2017b, we added capabilities to manage operating points for Simscape models.
In this post, I will show an example of how to use this feature, and describe the possibilities it... read more >>

Modecharts: Modeling discrete modes in Simscape

Last week I described how to model a box on a moving table using Simulink subsystems as Stateflow state.
As it is the case for most systems, there are many ways to model this box-table system in... read more >>