What’s New in R2015b – Part 4
I am not done yet... there are still a few more new things in Simulink R2015b I need to highlight. Scope In R2015b, the Simulink Scope has been entirely redesigned with tons of new features. It looks a...
View ArticleUpgrade Advisor
Do you run the Upgrade Advisor on your models when upgrading to a new release? If not, you should! Upgrading a model to a new version Today, I want to show how the Upgrade Advisor can help when...
View ArticleThe Martian: Can you save Mark Watney? (Part 1)
About a year ago, I read the book The Martian, by Andy Weir. I really enjoyed the story, with all the technical details of how Mark Watney solves one problem after another to survive alone on Mars. A...
View ArticleThe Martian – Part 2 – Simulating the Spacecraft Trajectory
In last week's post, I demonstrated how we can use MATLAB to find the launch date of the Ares 3 crew from the book The Martian, by Andy Weir. This week, I will describe in more detail how we can use...
View ArticleThe Martian – Part 3 – Optimizing the Trajectory
After finding the launch date of the mission and putting together a simulation of the spacecraft trajectory, it's time to see how we can optimize this trajectory. Let's bring him home! Optimizing the...
View ArticleMessages: Stateflow’s got mail
As our devices get smaller and systems get embedded into everything, there is a greater need to properly model inter-system communication. Let's take a simple example: imagine a smart thermostat that...
View ArticleEasily Accessing Block Parameters
How often you end up wondering what the value of a block parameter in Simulink is? In the past, I used to open the block dialog, copy the variable name, go the MATLAB prompt, paste the value and hit...
View ArticleCreating Custom Requirements Link Type
If you’re working in the system engineering space, you are very likely familiar with the Requirement Traceability feature of Simulink Verification and Validation. I have discussed this topic in...
View ArticleStateflow Semantics: Shortcut to Default
Today I want to share with you one of the lesser known semantics of Stateflow: the transition that ends on an inner boundary of a state. This is not an inner transition; those start on an inner...
View ArticleCommonly Asked Questions About S-Functions
Today, we are welcoming Michael Carone, who provides responses to the most frequent questions we receive about S-Functions. What can you use S-Functions for? S-Functions allow you to create custom...
View ArticleThe variables you need
Today I want to share two lines of code I find very useful. The problem I often need to exchange models with users. One of the thing people struggle the most while doing that is providing the...
View ArticleAdopting Model-Based Design
Are you a frequent MATLAB user whose knowledge of Simulink is limited to sldemo_househeat? Maybe you're looking to join the Hyperloop project? Or you just want to use Simulink more, but don't quite...
View ArticleComparing Runs in SDI
Today I upgraded a large model to the latest release of MATLAB. I found a trick to compare the results before and after the update that I thought I should share. Different Results To validate that the...
View ArticleMy top 5 new features in R2016a
Simulink R2016a has just been released and it includes a ton of new features and improvements. There is so much it is impossible to cover everything in just one blog post. For this first blog post...
View ArticleCoolProp to the Rescue
This week, I am happy to welcome guest blogger Tom Egel from MathWorks Consulting Services. CoolProp to the Rescue Do you use the Simscape Thermal Liquid domain? If so, then you should know about...
View ArticleSimulating The 2016 Baseball Season
A few weeks ago, Matt, Corey and I had a conversation about the rise of sabermetrics and sports analytics. With the baseball season opening on April 3rd we decided to apply the power of MATLAB and...
View ArticleTips and tricks when using the sim command
Today, I want to share a few tips and tricks about when and how to use the sim command. The sim command vs. The Play Button As you all know, there are two ways to simulate a model: using the play...
View ArticleSystem Object Editor Enhancements
Today I am happy to welcome guest blogger Jacob Halbrooks to describe enhancements to the MATLAB Editor to help editing System Objects. In R2016a, MATLAB Editor includes new tools to help you write...
View ArticleTips for simulating models in parallel
As I mentioned many times on this blog, running simulation in parallel using the Parallel Computing Toolbox can save you a lot of time. Today I want to share a few tips to help you getting started with...
View ArticleSimulation Data Inspector inside parfor
Last week I presented a few tips to run simulations in parallel, and received an interesting comment asking how to use the Simulation Data Inspector in that context. So let's take a look! Background...
View Article