Quantcast
Channel: Guy on Simulink
Browsing all 161 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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 generate AUTOSAR compliant code. Some time ago, my colleague Shwetha published a...

View Article


Image may be NSFW.
Clik here to view.

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 block from Simscape Multibody, I strongly recommend that you go through...

View Article


Image may be NSFW.
Clik here to view.

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 C++ code in a referenced model in accelerator mode. Unfortunately, this user...

View Article

Image may be NSFW.
Clik here to view.

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 in the blogging business!Before highlighting new R2021b features, I decided to...

View Article

Image may be NSFW.
Clik here to view.

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 Community blog: Flying Pumpkins, Dancing Pumpkins. While Ned and Eric's post is about...

View Article


Image may be NSFW.
Clik here to view.

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 Builder in MATLAB R2021b.This made me realize that I have never covered the...

View Article

Image may be NSFW.
Clik here to view.

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 simulations.The Problem What this user described is that, when simulating a...

View Article

Image may be NSFW.
Clik here to view.

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 the way it allows you to simply store the contents of a Subsystem in a...

View Article


Image may be NSFW.
Clik here to view.

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 available in Simulink to document your design, and concludes with a new capability...

View Article


Image may be NSFW.
Clik here to view.

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 example of a right triangle:For most Simulink users, if you have a model...

View Article

Image may be NSFW.
Clik here to view.

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 Simulink models. When simulating models interactively using the play button,...

View Article

Image may be NSFW.
Clik here to view.

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 third Winter Olympics that our curling game is participating in, making it...

View Article

Image may be NSFW.
Clik here to view.

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 in MATLAB R2022a.Model Reference Local SolverFor as long as Simulink has...

View Article


Image may be NSFW.
Clik here to view.

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 slexpr function. This triggered a lot of questions about the impact on the...

View Article

Image may be NSFW.
Clik here to view.

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 there is nothing fundamentally wrong with find_system, in this post I want...

View Article


Image may be NSFW.
Clik here to view.

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 simulation data evolved at their company. What they came up with is a framework...

View Article

Image may be NSFW.
Clik here to view.

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 magic or revolutionary to that in itself. The reason why I decided to cover...

View Article


Image may be NSFW.
Clik here to view.

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 missed the previous posts in this series, here are links:Unifying MATLAB and...

View Article

Image may be NSFW.
Clik here to view.

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 this series, here are links:Unifying MATLAB and Simulink: A User Story Part...

View Article

Image may be NSFW.
Clik here to view.

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. Unifying MATLAB and Simulink: A User Story Part 1: Parameterizing a model with...

View Article
Browsing all 161 articles
Browse latest View live