Publié le


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

environ 10 ans il y a

Thumbnail

Publié le


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

environ 10 ans il y a

Thumbnail

Publié le


CoolProp to the Rescue
This week, I am happy to welcome guest blogger Tom Egel from MathWorks Consulting Services. CoolProp to the Rescue Do...

environ 10 ans il y a

Thumbnail

Publié le


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

environ 10 ans il y a

Thumbnail

Publié le


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

environ 10 ans il y a

Thumbnail

Publié le


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

environ 10 ans il y a

Thumbnail

Publié le


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

environ 10 ans il y a

Thumbnail

Publié le


Commonly Asked Questions About S-Functions
Today, we are welcoming Michael Carone, who provides responses to the most frequent questions we receive about...

environ 10 ans il y a

Thumbnail

Publié le


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

plus de 10 ans il y a

Thumbnail

Publié le


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

plus de 10 ans il y a

Thumbnail

Publié le


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

plus de 10 ans il y a

Thumbnail

Publié le


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

plus de 10 ans il y a

Thumbnail

Publié le


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

plus de 10 ans il y a

Thumbnail

Publié le


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

plus de 10 ans il y a

Thumbnail

Publié le


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

plus de 10 ans il y a

Thumbnail

Publié le


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

plus de 10 ans il y a

Thumbnail

Publié le


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,...

plus de 10 ans il y a

Thumbnail

Publié le


What’s New in R2015b – Part 3
In R2015b, lots of enhancements related to buses have been implemented. Let's give a look. Port Value Labels for...

plus de 10 ans il y a

Thumbnail

Publié le


What’s New in R2015b – Part 2
This week we continue looking at new features in R2015b. After going through editing features, let's now look at new...

plus de 10 ans il y a

Thumbnail

Publié le


What’s New in R2015b – Part 1
MATLAB R2015b has been recently released. It's time to see what's new! When going through the release notes, what hits me...

plus de 10 ans il y a

Thumbnail

Publié le


Getting the Value of Mask Parameters
Today I want to share a trick I recently found out. The Problem: Getting the Value of Nested Mask Parameters I want to...

plus de 10 ans il y a

Thumbnail

Publié le


A few thoughts on Naming Conventions
The other day, I was teaching a lab for recently hired at MathWorks. In that lab, I ask attendees to program LEGO MINDSTORMS...

plus de 10 ans il y a

Thumbnail

Publié le


Modeling and Simulation Challenge in Cody
Update: The Modeling and Simulation Challenge group has been deprecated. I recommend looking at Simulink OnRamp, which can...

plus de 10 ans il y a

Thumbnail

A résolu


Produce a sine wave
Produce a sine wave with amplitude 3: <<http://blogs.mathworks.com/images/seth/cody/sine-eqn.png>>

plus de 10 ans il y a

A résolu


Produce a cosine wave
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/cosine-eqn.png>>

plus de 10 ans il y a

A résolu


Connect blocks in a model
Connect the blocks in the model to produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/connect-blocks...

plus de 10 ans il y a

Publié le


Simulation Metadata!
Did you notice that in R2015a, simulations now have metadata in their output? What is simulation metadata? The...

plus de 10 ans il y a

Thumbnail

Publié le


Why you should never break a continuous algebraic loop with a Memory block
I have seen many users run into trouble when resolving an algebraic loop, so this week I want to explain why you should...

plus de 10 ans il y a

Thumbnail

Publié le


Identifying the root cause of an algebraic constraint violation
Today I will share a technique I often use when debugging Simulink models, and more especially Simscape models. Algebraic...

presque 11 ans il y a

Thumbnail

Publié le


Speeding up Initialization for Accelerator Mode
Some time ago, I wrote a post about Getting the most out of Rapid Accelerator mode. That post describes how to use the...

presque 11 ans il y a

Thumbnail

Charger plus