Published


Unifying MATLAB and Simulink: A User Story Part 5
This week, I am introducing a set of two examples implemented using the workflow described in this blog post series....

2 years ago

Thumbnail

Published


Unifying MATLAB and Simulink: A User Story Part 4
In today's post, I continue extending the framework introduced over the past few weeks. If you missed the previous posts in...

2 years ago

Thumbnail

Published


Unifying MATLAB and Simulink: A User Story Part 3
In today's post, I will add features to the framework presented in the previous post to help controlling variants. If you...

2 years ago

Thumbnail

Published


Unifying MATLAB and Simulink: A User Story Part 2
In my previous post, I described how to parameterize a Simulink model using MATLAB objects. To be honest, there is nothing...

2 years ago

Thumbnail

Published


Unifying MATLAB and Simulink: A User Story Part 1
I recently had an interesting discussion with a group of users about modeling, simulation, and how the management of...

2 years ago

Thumbnail

Published


Time to convert from find_system to Simulink.findBlocks
If you are creating, editing or analyzing Simulink models programmatically, you are probably familiar with find_system.While...

2 years ago

Thumbnail

Published


Specifying Variable Values Using Mathematical Expressions: Generated Code
Some time ago, I published a post where I described how to specify variable values using mathematical expressions using the...

2 years ago

Thumbnail

Published


What’s New in Simulink R2022a!
The newest version of MATLAB, R2022a, has just been released! Here I will share with you my favorite new Simulink features...

2 years ago

Thumbnail

Published


The Curling Game… Version 2022
For the 2022 Winter Olympic Games, I am excited to share a new version of the Simulink Curling Simulator! This is now the...

2 years ago

Thumbnail

Submitted


The Curling Game App
MATLAB app simulating a curling game

2 years ago | 2 downloads |

Thumbnail

Published


Leveraging The Simulink Diagnostics Viewer
I am sure most Simulink users will agree that viewing and analyzing warnings and errors is an important part of working with...

2 years ago

Thumbnail

Published


Specifying Variable Values Using Mathematical Expressions
Today I want to talk about variables, needed by a Simulink model, that are function of other variables.Let's take the simple...

2 years ago

Thumbnail

Published


Generating Reports for a Simulink Model including LaTeX Equations
Today I am happy to welcome guest blogger Sarah Dagen, from MathWorks Consulting.Sarah first lists different options...

2 years ago

Thumbnail

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

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

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

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

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

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

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

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

3 years ago | 2

Submitted


Simulink-Virus-Simulator
This project simulates an exponential spread similar to the spread of covid-19.

3 years ago | 3 downloads |

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

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

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

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

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

3 years ago

Thumbnail

Load more