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

mer än ett år 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...

mer än ett år 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...

mer än ett år 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...

nästan 2 år 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...

nästan 2 år 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”

ungefär 2 år 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....

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

ungefär 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år ago

Thumbnail

Submitted


The Curling Game App
MATLAB app simulating a curling game

mer än 2 år ago | 3 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 2 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år 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...

mer än 3 år ago | 2

Load more