Guy on Simulink

Simulink & Model-Based Design

Posts 291 - 300 of 431

Initializing buses using a MATLAB Structure 10

Did you notice that since R2010a it is possible to initialize buses with a MATLAB structure? If you were not aware, here is how it works. Starting from a Structure Let's say I have a structure... read more >>

Finding where variables are used from the Model Explorer

In a previous post, we illustrated the Simulink.findVars function. To be honest, I am not very good at remembering the syntax of functions. Every time I encounter a situation where I could use... read more >>

Sample Time Offset 6

I noticed that many users are not aware that it is possible to specify sample time offsets in Simulink. Scalar Sample Time In this simple model, I have specified the sample time of the Constant... read more >>

Auto Solver Settings 4

When looking at the solver configuration of a new model, you probably noticed that many settings are set to Auto. When an Auto option is provided for a setting, it is because we feel that this... read more >>

Promoting Block Parameters to a Mask 1

In R2011b, we are trying to make it easier to interface the parameters of a masked subsystem with the parameters of the blocks under this mask. We call this Promoting Block Parameters. Let's see how... read more >>

Dynamics Mask Icons for Subsystem Variants 14

Today I will illustrate how to combine two features I like: Subsystem Variants and Masking. The Question I created a subsystem with two variants and I have specific masks for each... read more >>

Generating Code for Real-Time Multicore Systems 2

Do you generate code to be executed on a multi-core processor? Wouldn't it be cool if you could decide which part of the model will execute on which core? Modeling Concurrent... read more >>

Do YOU want to win the Simulink Student Challenge?

A couple weeks back MathWorks announced the Simulink Student Challenge. We have seen some crazy great things developed in Simulink and we are still looking for more. To help you with that, we... read more >>

Continuous sample time inside For Each Subsystem 7

Back in 2010, I wrote a post explaining how to apply a scalar algorithm to a vector using the For Each subsystem. At that time, only discrete algorithms could be vectorized that way. In R2011b, the... read more >>

Simulink Student Challenge: $1000 in prizes! 3

Have you done something super-cool in Simulink?Can you make a short video of it and share it on YouTube?Are you a student? If you have answered yes to these questions, then you might be able to win... read more >>

Posts 291 - 300 of 431

These postings are the author's and don't necessarily represent the opinions of MathWorks.