Guy on Simulink

Simulink & Model-Based Design

Posts 1 - 10 of 98

Results for: Simulink Tips

How to Create a Mask Popup Parameter that can be tuned in Rapid Accelerator

A few weeks ago I published this blog post: Getting the most out of Rapid Accelerator mode – Version R2023b, where I described how to simulate a model multiple times in Rapid Accelerator mode for... read more >>

Accelerator Cache and Rebuilds – Everything you need to know 4

In Simulink, the different simulation modes (accelerators) can save you a lot of time. There are, however, subtleties to what “time” you can save, and how we can achieve those savings. In this post,... read more >>

YouTube Livestream on Speeding Up Simulink Simulation Workflows

I don’t usually publicize this sort of thing on this blog, but I think the subject is too relevant for many readers of this blog to no advertise it. Next Thursday, October 19th, 2023, we are... read more >>

Signals vs Parameters in Simulink… and the Parameter Writer block 6

A colleague recently told me that he was often referring users to this blog post I wrote many years ago: How Do I Change a Block Parameter Based on the Output of Another Block?Even if most of what I... read more >>

Debugging C/C++ code in Simulink 7

As you probably know, it is possible to integrate C/C++ code in Simulink simulations. This can be done in many ways, including:C/C++ S-FunctionS-Function BuilderLegacy Code ToolC CallerC... read more >>

Leveraging Model Comparison to find what you need

Today I want to share an example of how I sometimes use Model Comparison to answer questions about Simulink blocks or models. While this is obviously a key part of the workflow to merge branches in a... read more >>

Finding what you need in the Simulink Toolstrip

Throughout the years, there have been features introduced in Simulink that initially looked like minor "nice to have", but turned out to be major game changers. In the last few releases of Simulink,... read more >>

Function Handles and Post-Simulation Functions 6

Until recently, I always had trouble when dealing with MATLAB function handles. I cannot really explain why, there was just something I could not wrap my head around.To help a user, I finally took... read more >>

Parallel Simulations: Your options to configure data when using parsim and batchsim 2

Today I am happy to welcome guest blogger Reid Spence. Reid helps Simulink users running simulations in parallel using functions like parsim or batchsim. In this post, he shares best practices to... read more >>

Tips and Tricks when Dealing with Callbacks in Simulink 2

As you probably know, it is possible to define many types of callbacks in a Simulink model. Callbacks can be very useful to automatically execute MATLAB code in certain situations, for example when a... read more >>

Posts 1 - 10 of 98