Guy on Simulink

Simulink & Model-Based Design

Posts 11 - 18 of 18

Results for: Stateflow

Simulink Functions hit the big time 2

The release of R2014b brought a time-honored Stateflow feature up to the model level: Simulink Functions. These blocks, analogous to stand-alone MATLAB functions, promote modularity and reuse by... read more >>

How do you hold the value of a signal? 23

Yesterday, I was giving a training to new hires at MathWorks and one of the attendees asked me how to hold a value in Simulink. Of course, my answer was that there are many ways to hold a value... read more >>

Stateflow Active State Output

Did you know that with Stateflow, it is possible to monitor which state is currently active, and use that information in the rest of the Simulink model? This feature is named Active State Output. The screenshot below shows how to do this for one of the charts in the example Temporal Logic Using the AT Function.... read more >>

MATLAB Language in Stateflow 4

Have you noticed a new block in the Stateflow Library since R2012b? The MATLAB Chart block uses MATLAB as the action language for states and transitions in Stateflow. This means that you... read more >>

Breaking up a Stateflow Chart for Collaborative Development 2

This week I have been experimenting with a feature released in R2010b that I have not used before: Stateflow Atomic Subcharts The Problem I am currently working on a model architecture where... read more >>

Conditional Execution 12

As we all know, in Simulink there are always multiple ways to implement a functionality. One situation where I often hesitate when choosing an implementation is conditional execution. I will share... read more >>

For Each Subsystem and Code Generation 8

Today Guy Rouleau is back to introduce the code generated from the For Each Subsystem. I created an example model implementing the same functionality as in my previous post, but using... read more >>

New (Since R2009a) Simulink inside Stateflow 10

This week I asked Michael Carone to introduce a relatively new Stateflow capability, Simulink Functions. Did you ever want to put a Simulink block inside of a Stateflow chart?  Well, if you... read more >>

Posts 11 - 18 of 18