Offload work from your computer by running simulations on a remote cluster
Recently, I noticed that when I right-click on a MATLAB script in the Current Folder Browser, there is an option to run the script as a batch job. As you can guess, the first thing that when through my...
View ArticleThree-Way Model Merge and Git
In R2016a, a new Three-Way Model Merge functionality got introduced. You can find a clear description of this feature in the following documentation pages: Resolve Conflicts with Simulink Three-Way...
View ArticleAnother Good Reason to Log Simulation Data in Dataset Format
Today I am happy to welcome guest blogger Mariano Lizarraga Fernandez. A few days ago, Mariano came to me looking for help understanding a Simulink behavior that a user was not able to explain. Once we...
View ArticleIt’s Time for Real-Time!
Today, I am happy to welcome guest blogger Sarah Dagen, from MathWorks Consulting Services to talk about real-time simulation and testing. Why Real-Time? Working in MathWorks consulting services, one...
View ArticleTips for dealing with Libraries
Today I will share a simple trick that might save you some time if you are dealing with large Simulink models componentized using libraries. Long Time to Save Earlier this week, I received a large...
View ArticleIn Libraries, Code or Model Reusability? That is the Question.
This week, Mariano Lizarraga Fernandez is back as guest blogger with a new interesting topic: Model Reusability versus Code Reusability. Introduction Every now and then those of us who work in...
View ArticleOlympics 2016 – Shot Put
For the Rio Olympics this year I decided to sign up a few of our new hires and interns to pick an Olympic sport and show what we can do in Simulink to simulate and analyze that sport. Today, we are...
View ArticleOlympic 2016 – Pole Vault
For this second post in our Olympics series, I am happy to welcome guest blogger Amit Raj to describe how he simulated the pole vault competition. Introduction Track and field events are one of the...
View ArticleIncluding a mask image in your block
Earlier today, a colleague came to me asking for a way to include an image in a block to be used as mask image. I though it might be interesting to share my response here. The Problem Here is the...
View ArticleWhat’s new in R2016b!
MATLAB R2016b is available for download since yesterday, so today I decided to highlight the most visible enhancements in the Simulink area. Property Inspector From the View menu or using the shortcut...
View ArticleSimulink Student Challenge 2016
Today we are having a quick post to highlight the 2016 edition of the Simulink Student Challenge You are a student and you are working on a project involving Simulink? Create a video describing your...
View ArticleNew in R2016b: The Finder
The first time you will try searching for blocks or parameters in MATLAB R2016b, you will notice that the interface of the Find Tool has been completly re-designed. Try hitting Ctrl+F in a model, here...
View ArticleCreating iPhone and iPad Apps with Simulink
The other day, a user told me: That would be cool if we could program apps for smartphones using Simulink. Guess what my answer was: Of course you can! Simulink Support Packages for Apple iOS and...
View ArticleExport Function Models
I started writing this post with the goal of talking about the new Initialize Function, Reset Function and Terminate Function blocks, along with the closely related State Reader and State Writer blocks...
View ArticleState Reader and State Writer blocks
As mentioned in my previous post, I have been trying for some time to write about the new Initialize Function, Reset Function and Terminate Function introduced in R2016b. However, every time I end up...
View ArticleUsing Simulink Functions to Simulate Hardware Services
This week, I want to introduce another feature that becomes useful when combined with the Initialize Function, Reset Function and Terminate Function blocks. In R2014b, Simulink Functions got...
View ArticleSimulating the Startup and Shutdown of your software
This week, we are finally diving into the Initialize Function, Reset Function and Terminate Function blocks. As a starting point, I recommend looking at this video about Initialize and Terminate...
View ArticleWhat’s New in R2017a!
MATLAB R2017a is now available for download. For this first post about R2017a, I want to highlight features that will help you creating models more efficiently. Simplified Subsystem Bus Interfaces I...
View ArticleSimulating models in parallel made easy with parsim
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...
View ArticleImproved Behavior of Auto Tolerance in R2017a
Are you familiar with the meaning of auto for the Absolute tolerance of Simulink variable-step solvers? In R2017a, we decided to change the meaning of auto for the Absolute Tolerance... If your model...
View Article