Guy on Simulink

Simulink & Model-Based Design

Posts 41 - 50 of 50

Results for: Code Generation

10 Simple Rules for High-Performance Generated Code 3

I was recently asked, "Do you have some kind of list or simple rules to get high performance generated code using Real-Time Workshop?" I put the question to my colleague (and first guest blogger)... 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 >>

How to Learn Model-Based Design using Simulink 4

When my colleague Guy saw my previous post about the MathWorks Academic Virtual Conference, he told me how he learned Model-Based Design and Simulink at l'Université de Sherbrooke. Here is what he... read more >>

Generated Code for Variable Size Signals 4

Aarti recently posted about Variable Size Signals in Simulink. Han responded with this comment: Aarti, I would be interested in the effect on RTW generated code for variable size signals.... read more >>

A Better If-Else Construct 16

In a previous post, I answered a question about how to model an If-Else behavior.  Here I will restate the algorithm I want to create: if(sel==0) out = 2*in1; elseif (sel==1) out =... read more >>

My Mental Model of a Model 2

When you are new to something, it always helps to get a mental picture of how that something works.  Since I learned Simulink over 10 years ago, I have developed my own mental model of Simulink... read more >>

Parallel Computing with Simulink: Model Reference Builds 6

Have you seen the MATLAB Channel on YouTube??  I like the way you can express an idea using video, describe how things work, and then watch it work.  That is why I asked my friend Doug to help me... read more >>

Bus Copies Explained! 4

A Simulink developer caught me in the hall last week and asked me, “How do people use the Signal Conversion block?”  He was specifically interested in how people use Contiguous Copy mode, and if... read more >>

Where’s the Code? 7

Today’s post is courtesy of my first guest blogger Tom Erkkinen, my colleague from the MathWorks office in Novi, Michigan! Ever try to compile code generated by Real-Time Workshop on... read more >>

Bus Signals in the Generated Code 7

Blog reader Paul J. shared with us his mental model of the bus as a structure. While this isn’t true of virtual buses, it is precisely true of nonvirtual buses. In fact, when you generate the... read more >>

Posts 41 - 50 of 50