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

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Upgrade 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 Article


Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article


Image may be NSFW.
Clik here to view.

Messages: 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 Article

Image may be NSFW.
Clik here to view.

Easily 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 Article

Image may be NSFW.
Clik here to view.

Creating 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 Article


Image may be NSFW.
Clik here to view.

Stateflow 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 Article


Image may be NSFW.
Clik here to view.

Commonly 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 Article

Image may be NSFW.
Clik here to view.

The 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 Article

Image may be NSFW.
Clik here to view.

Adopting 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 Article

Image may be NSFW.
Clik here to view.

Comparing 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 Article


Image may be NSFW.
Clik here to view.

My 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 Article

Image may be NSFW.
Clik here to view.

CoolProp 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 Article


Image may be NSFW.
Clik here to view.

Simulating 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 Article

Image may be NSFW.
Clik here to view.

Tips 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 Article


Image may be NSFW.
Clik here to view.

System 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 Article

Image may be NSFW.
Clik here to view.

Tips 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 Article

Image may be NSFW.
Clik here to view.

Simulation 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
Browsing all 160 articles
Browse latest View live