Publié le


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

plus d'un an il y a

Thumbnail

Publié le


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

plus d'un an il y a

Thumbnail

Publié le


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

plus d'un an il y a

Thumbnail

Publié le


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

plus d'un an il y a

Thumbnail

Poll


How do you prefer to organize referenced projects?

plus d'un an il y a | 21 votes | 3 comments

Publié le


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

plus d'un an il y a

Thumbnail

Publié le


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

presque 2 ans il y a

Thumbnail

Publié le


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

presque 2 ans il y a

Thumbnail

Publié le


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

presque 2 ans il y a

Thumbnail

Publié le


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

environ 2 ans il y a

Thumbnail

Publié le


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

environ 2 ans il y a

Thumbnail

Publié le


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

environ 2 ans il y a

Thumbnail

Publié le


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

environ 2 ans il y a

Thumbnail

Publié le


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

environ 2 ans il y a

Thumbnail

Publié le


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

environ 2 ans il y a

Thumbnail

Publié le


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

environ 2 ans il y a

Thumbnail

A soumis


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”

plus de 2 ans il y a | 3 téléchargements |

Thumbnail

Publié le


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

plus de 2 ans il y a

Thumbnail

Publié le


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

plus de 2 ans il y a

Thumbnail

Publié le


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

plus de 2 ans il y a

Thumbnail

Publié le


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

plus de 2 ans il y a

Thumbnail

Publié le


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

plus de 2 ans il y a

Thumbnail

Publié le


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

plus de 2 ans il y a

Thumbnail

Publié le


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

presque 3 ans il y a

Thumbnail

Publié le


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

presque 3 ans il y a

Thumbnail

Publié le


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

presque 3 ans il y a

Thumbnail

A soumis


The Curling Game App
MATLAB app simulating a curling game

presque 3 ans il y a | 1 téléchargement |

Thumbnail

Publié le


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

presque 3 ans il y a

Thumbnail

Publié le


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

presque 3 ans il y a

Thumbnail

Publié le


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

environ 3 ans il y a

Thumbnail

Charger plus