Guy on Simulink

Simulink & Model-Based Design

Posts 1 - 10 of 20

Results for: Commands

How to Run Simulink Simulation from MATLAB Script? 12

I recently ran into a report of the most visited entries on MATLAB Answers. I looked at the ones involving Simulink and thought it would be interesting to cover some of those on this blog. While most... read more >>

Function Handles and Post-Simulation Functions 6

Until recently, I always had trouble when dealing with MATLAB function handles. I cannot really explain why, there was just something I could not wrap my head around.To help a user, I finally took... read more >>

Parallel Simulations: Your options to configure data when using parsim and batchsim 4

Today I am happy to welcome guest blogger Reid Spence. Reid helps Simulink users running simulations in parallel using functions like parsim or batchsim. In this post, he shares best practices to... read more >>

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 this a little bit further and show how to create a custom match filter to... read more >>

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

Leveraging The Simulink Diagnostics Viewer 2

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

Logging Simulation Data in Timetable format

In case you did not notice, MATLAB R2016b introduced a new type of table: timetables. Because Simulink logs data over time, we decided in R2017a to give the possibility to use this format for signal... read more >>

Simulating models in parallel made easy with parsim 23

Some time ago, I wrote a series of posts to highlight the different factors to take into account when trying to run simulations in parallel. In R2017a, we are making it significantly easier with the... read more >>

Getting the Value of Mask Parameters 7

Today I want to share a trick I recently found out. The Problem: Getting the Value of Nested Mask Parameters I want to write a script that will look in a model for blocks of a particular type,... read more >>

Simulation Metadata! 1

Did you notice that in R2015a, simulations now have metadata in their output? What is simulation metadata? The getSimulationMetadata method of the Simulink.SimulationOutput object returns a... read more >>

Posts 1 - 10 of 20