Predictive Quick Insert
Sometimes, I hear about a plan for a new feature without immediately realizing its impact... but it ends up fundamentally changing the way I use Simulink. Quick Block Insert is one such feature. If you...
View ArticleVariants: What Are Your Options in R2018b?
I posted about variants in the past, but things have changed a lot since then, so I thought it would be a good idea to review the options available for variants in R2018b. Variant Subsystem If you are...
View ArticleImporting Data From Excel
Today I want to share a useful tip for importing signals from Excel into a simulation. From Spreadsheet block In case you were not aware, since R2015b, Simulink has offered the From Spreadsheet block....
View ArticleWhat’s New in R2019a?
MATLAB R2019a is available for download. Here are some of my favorite new features in the Simulink area. Model Reference Two major enhancements have been made to model referencing. The first...
View ArticleExecuting Stateflow Charts in MATLAB
In MATLAB R2019a, it is now possible to create standalone Stateflow charts that can be executed in MATLAB. Let's see how this work! Getting Started First, an important concept: A standalone Stateflow...
View ArticleSimulink and the Functional Mock-up Interface Standard
Today, I want to cover the current state of support of Functional Mock-up Units (FMU) in Simulink. Background From the FMI standard website, FMI is: Functional Mock-up Interface (FMI) is a tool...
View ArticleProjects Export Profile
After my last post on FMU import and export, someone asked me if exporting a Simulink model to an FMU was a good way to hide the model and protect intellectual property. The answer is: No! An FMU is...
View ArticleLoading Signals in Timetable Format
Today I decided to revisit a topic I covered a few years ago: loading discrete signals in a simulation. Let's see what has been added in the last few years to help with the potential problems you might...
View ArticleOverview Of Recent Projects Features
Today I am happy to welcome guest blogger Quique Hernandez Hurtado Esquilas. Quique recently completed a project where he updated many examples using Projects to leverage new features added in the last...
View ArticleCurling Game Update: App Designer and Stateflow
Someone recently challenged me to convert the curling simulator we published a few years ago (See this post and this post) to take advantage of new features not available at that time: App Designer and...
View ArticleNew in R2019b: Subsystem Reference
Today I want to introduce my favorite new feature in MATLAB R2019b: Subsystem Reference Let's see what is it, how it works, and when you should be using it. Creating a Subsystem File In R2019b, we are...
View ArticleA New First Order Hold!
If you are attentive to details, you might have noticed that in MATLAB R2019b, we removed the First-Order Hold block from the Discrete section of the Simulink Library browser. At the same time, we...
View ArticleIntroduction to AUTOSAR
Today I am happy to welcome Shwetha Bhadravathi Patil to talk about AUTOSAR. What is AUTOSAR AUTOSAR (AUTomotive Open System ARchitecture) is a worldwide development partnership of vehicle...
View ArticleCOVID-19: Simulating exponential spread in Simulink
Last week, my colleague Mariano Lizarraga Fernandez pointed me to the Washington post simulation of COVID-19 and we thought it would be interesting to implement something similar using MathWorks...
View ArticleWhat’s New in R2020a
R2020a is here... Time to highlight my favorite new Simulink features!” Editor Enhancements As I said many times, I spend a good part of my life debugging and editing Simulink models. Anything that can...
View ArticleCOVID-19: Using Parallel Simulations to Study the Infection Spread
In a previous post, I introduced a model simulating the exponential spread of a phenomenon like COVID-19. With more and more talks in the news about deconfinement plans, I thought it would be...
View ArticleCreating and Editing Simulink Models in MATLAB Online!
Do you know what I did this morning? I created a Simulink model in MATLAB Online! Simulink in MATLAB Online A few years ago, in this post, I described how I like the convenience of having MATLAB Drive,...
View ArticleGetting Started with Simulink Compiler
In MATLAB R2020a, we introduced a new product: Simulink Compiler In this post, I am sharing the basic information you will need to get started with Simulink Compiler. What is Simulink compiler? To...
View ArticleDeploying the Virus Spread Simulator Using Simulink Compiler
After covering the basics of Simulink Compiler in my previous post, it's now time to look at a more complex application. For that, I decided to leverage the project I published on this blog a few...
View ArticleCreating Custom Gauges
This week, I have a gift for you! Thanks to new capabilities added in MATLAB R2020b, I created a library of custom gauges that you can add to your Simulink models and published it to MATLAB Central and...
View Article