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 >>

Linking to a Dynamic Library from MATLAB Coder for a Windows Computer Vision Application

In a previous post, I demonstrated the basics of generating C/C++ code from a MATLAB function and how to use that code to create a dynamic library (DLL) that could be used in an external... 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 >>