Published


Subsystem Reference and Test Harness
In case you missed it, some time ago I wrote this post introducing the Subsystem Reference. I really like this feature and...

3 years ago

Thumbnail

Published


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

3 years ago

Thumbnail

Answered
Why do I get the Simulink error: "Cannot create variable 'streamout' in workspace"
"streamout" is from a realtively old version, around R2016. I would recommend upgrading. If not possible, look in your "tempdir...

3 years ago | 0

Published


Array of Buses and S-Function Builder support
This week, Navid Rahbariasr proposed to publish a blog post about support for arrays of buses being added to the S-Function...

3 years ago

Thumbnail

Published


Halloween special: The Pumpkin Chunkin Simulator!
How do you feel about a pumpkin chunkin simulator today? Earlier this week, I noticed the latest post on the MATLAB...

3 years ago

Thumbnail

Published


Simulink Review Manager
I have not been blogging in the last few months, I apologize for that. With MATLAB R2021b now available, I am getting back...

3 years ago

Thumbnail

Published


Linking C MEX S-Function to C++ Code
Today, I am happy to welcome guest blogger Navid Rahbariasr. Navid recently received a request from a user trying to include...

3 years ago

Thumbnail

Published


Modeling flexible bodies using the Reduced Order Flexible Solid block
Today I am happy to welcome guest blogger David Balbuena. If you are getting started using the Reduced Order Flexible Solid...

3 years ago

Thumbnail

Published


Configuring a Simulink Model for AUTOSAR
Today I am happy to welcome guest blogger Sai Ram Anumula to give an introduction on how to configure Simulink models to...

4 years ago

Thumbnail

Answered
Export model as FMU for Cosimulation stand-alone
Beginning with R2020a, you can export your Simulink model as a standalone FMU with Simulink Compiler. When a third-party tool ru...

4 years ago | 2

Published


Creating Custom Gauges
This week, I have a gift for you! Thanks to new capabilities added in MATLAB R2020b, I created a library of custom gauges...

4 years ago

Thumbnail

Published


Deploying the Virus Spread Simulator Using Simulink Compiler
After covering the basics of Simulink Compiler in my previous post, it's now time to look at a more complex...

4 years ago

Thumbnail

Answered
Is there a way to stop compiling process when the model has started to compile in Simulink?
In MATLAB R2020b and before, there is no way to interrupt the model compilation. We are aware that this is a common pain point ...

4 years ago | 1

Answered
How to deploy simscape models with tunable block parameters?
It looks like you need to enable the display of Simscape run-tim parameter settings in blocks dialog, this cna be done fomr the ...

4 years ago | 0

| accepted

Published


Getting Started with Simulink Compiler
In MATLAB R2020a, we introduced a new product: Simulink Compiler In this post, I am sharing the basic information you will...

4 years ago

Thumbnail

Published


Creating and Editing Simulink Models in MATLAB Online!
Do you know what I did this morning? I created a Simulink model in MATLAB Online! Simulink in MATLAB Online A few years...

4 years ago

Thumbnail

Submitted


Four-Cylinder Engine Ignition Control Simulation
Simulation of the ignition control of a four-cylinder engine

4 years ago | 15 downloads |

Thumbnail

Published


COVID-19: Using Parallel Simulations to Study the Infection Spread
In a previous post, I introduced a model simulating the exponential spread of a phenomenon like COVID-19. With more and...

4 years ago

Thumbnail

Answered
Creating a standalone .exe of an .m file that calls a simulink model
In R2020a, a new product Simulink Compiler has been released to address this exact use case. See an example here.

4 years ago | 5

Answered
Matlab Compiler And Simulink
In R2020a, a new product Simulink Compiler has been released to address this exact use case. See an example here.

4 years ago | 3

Published


What’s New in R2020a
R2020a is here... Time to highlight my favorite new Simulink features!” Editor Enhancements As I said many times, I spend a...

4 years ago

Thumbnail

Published


COVID-19: Simulating exponential spread in Simulink
Update (10/14/2020): The GitHub repository now contains a MATLAB App to simulate the model and visualize the results. We...

4 years ago

Thumbnail

Published


Introduction to AUTOSAR
Today I am happy to welcome Shwetha Bhadravathi Patil to talk about AUTOSAR. What is AUTOSAR AUTOSAR (AUTomotive Open...

5 years ago

Thumbnail

Published


A New First Order Hold!
If you are attentive to details, you might have noticed that in MATLAB R2019b, we removed the First-Order Hold block from...

5 years ago

Thumbnail

Published


New in R2019b: Subsystem Reference
Today I want to introduce my favorite new feature in MATLAB R2019b: Subsystem Reference Let's see what is it, how it works,...

5 years ago

Thumbnail

Published


Curling Game Update: App Designer and Stateflow
Someone recently challenged me to convert the curling simulator we published a few years ago (See this post and this post)...

5 years ago

Thumbnail

Published


Overview Of Recent Projects Features
Today I am happy to welcome guest blogger Quique Hernandez Hurtado Esquilas. Quique recently completed a project where he...

5 years ago

Thumbnail

Published


Loading Signals in Timetable Format
Today I decided to revisit a topic I covered a few years ago: loading discrete signals in a simulation. Let's see what has...

5 years ago

Thumbnail

Answered
Has anyone solved this issue in 2018b? - Undefined function or variable 'fallbackType'
This is a bug in MATLAB R2018b. To work around, enable the option "allow setting breakpoints during simulation" from the Simulat...

5 years ago | 2

| accepted

Load more