Published


Debugging C/C++ code in Simulink
As you probably know, it is possible to integrate C/C++ code in Simulink simulations. This can be done in many ways,...

1 year ago

Thumbnail

Published


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

1 year ago

Thumbnail

Published


Customizing the Code Generated from Simulink
I want to start by giving you a heads up that guest blogger Erin McGarrity will be coming back soon with more posts about...

1 year ago

Thumbnail

Published


Referenced Projects
Today I want to talk about Referenced Projects. They can be very useful to componentize a large project, allowing for...

1 year ago

Thumbnail

Poll


How do you prefer to organize referenced projects?

1 year ago | 21 votes | 3 comments

Published


Defining Model Interfaces Using Bus Element Ports
Today I want to talk about Bus Element Ports. More specifically, I will share examples illustrating how Bus Element Ports...

1 year ago

Thumbnail

Published


What’s New in Simulink R2023a?
Each new release, I am always excited to share my favorite new Simulink features. As Simulink and our modeling and...

1 year ago

Thumbnail

Published


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

1 year ago

Thumbnail

Published


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

2 years ago

Thumbnail

Published


Leveraging Generated Code from MATLAB in a C++ Application
Today I am happy to welcome guest blogger Erin McGarrity. The main reason why I am excited to welcome Erin as guest...

2 years ago

Thumbnail

Published


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

2 years ago

Thumbnail

Published


Function Handles and Post-Simulation Functions
Until recently, I always had trouble when dealing with MATLAB function handles. I cannot really explain why, there was just...

2 years ago

Thumbnail

Published


Parallel Simulations: Your options to configure data when using parsim and batchsim
Today I am happy to welcome guest blogger Reid Spence. Reid helps Simulink users running simulations in parallel using...

2 years ago

Thumbnail

Published


Tips and Tricks when Dealing with Callbacks in Simulink
As you probably know, it is possible to define many types of callbacks in a Simulink model. Callbacks can be very useful to...

2 years ago

Thumbnail

Published


Creating a Match Filter for Simulink.findBlocks
Some time ago, I published a post encouraging you to use Simulink.findBlocks instead of find_system. This week, I will take...

2 years ago

Thumbnail

Published


Parameter Values in Blocks Dialogs
MATLAB R2022b was released a few weeks ago, so it's time to highlight a few new Simulink features. In this post, I decided...

2 years ago

Thumbnail

Submitted


Unifying-MATLAB-and-Simulink-Example
Example complementing the blog post series “Unifying MATLAB and Simulink: A User Story Part” on the blog “Guy on Simulink”

2 years ago | 4 downloads |

Thumbnail

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

3 years ago

Thumbnail

Submitted


The Curling Game App
MATLAB app simulating a curling game

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

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

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

3 years ago

Thumbnail

Load more