Guy and Seth on Simulink

Results for: Fundamentals

MATLAB Tech Talks: Bode Plot 1

Posted by Guy Rouleau,

MATLAB Tech Talks: Bode Plot This week we are introducing MATLAB Tech Talks - short videos explaining important engineering concepts in an informal and entertaining way. Carlos Osorio, our application engineer, and controls guru explains what Bode plots are, why you would use them, how to create them, and how to use them for control system... read more >>

Creating Your Own Block With Continuous States (MATLAB S-Function) 5

Posted by Guy Rouleau,

Creating Your Own Block With Continuous States (MATLAB S-Function) In a previous post, I showed an example of a MATLAB S-Function with a discrete state This week, we continue in the same direction and implement an S-Function with a continuous state. Continuous States To begin, let's go back to the question posted on MATLAB Answers by K E: What are continuous and discrete... read more >>

Writing your own block with discrete states (MATLAB S-Function) 5

Posted by Guy Rouleau,

Writing your own block with discrete states (MATLAB S-Function) A few weeks ago, I noticed the following question on MATLAB Answers by K E: What are continuous and discrete states in Simulink? In my opinion, the best way to understand how states work in Simulink is by implementing an S-Function. So this week we will see how to create a MATLAB... read more >>

How to make your own blocks with code! (Introduction to S-Functions) 8

Posted by Guy Rouleau,

How to make your own blocks with code! (Introduction to S-Functions) I have to admit... before joining MathWorks, I was afraid of S-Functions. Now this makes me laugh, because I know that writing an S-Function is very powerful and not that complicated. In my opinion, understanding S-Functions is the best way to understand how Simulink works. When looking at the previous posts on this... read more >>

Sous-vide Cooking with Simulink Part 2 4

Posted by Guy Rouleau,

Sous-vide Cooking with Simulink Part 2 Here is the continuation of my sous-vide cooking story I began to tell in the last post. Hardware Implementation As described last week, I finally received everything I ordered: Arduino Uno microcontroller LM35 temperature sensor PowerSwitch Tail I dusted off my soldering iron and soldered a cable to the LM35. Then I dipped the extremity into... read more >>

Sous-Vide Cooking with Simulink Part 1 7

Posted by Guy Rouleau,

Sous-Vide Cooking with Simulink Part 1 This week I am sharing the first part of a story about what I do with Simulink during weekends! Introduction Last Christmas, I received the book Modernist Cuisine - The Art of Science of Cooking. Throughout the book, the author Nathan Myhrvold puts a lot of emphasis on a cooking technique called... read more >>

You need an integrator with variable limits… there’s a solution for that! 6

Posted by Guy Rouleau,

You need an integrator with variable limits… there’s a solution for that! By Guy Rouleau Today I received a question where the user was looking for an Integrator block with variable upper and lower limits that could be specified from signals. I was happy to simply answer: There's a solution for that! In order to help users finding the information they need, we have... read more >>

Did I just get a different answer? 3

Posted by Seth Popinchalk,

Did I just get a different answer?  As part of any well designed Model Based Design work-flow, you need to ensure that you get the expected results from your simulation. You might want to evaluate the effect of... read more >>

How to customize the Simulink Scope! 20

Posted by Seth Popinchalk,

How to customize the Simulink Scope!  By Guy Rouleau As we all know, there is a tool for each job. You can hit a nail with a screwdriver, but the job is easier with a hammer. It’s the same thing to display Simulink data. One common question I receive in technical support is how to customize... read more >>

Building Models with MATLAB Code 71

Posted by Seth Popinchalk,

Building Models with MATLAB Code  Occasionally I get questions about how to build, modify, and add blocks, to Simulink models using MATLAB commands. In this post, I will to give a basic overview of the common model... read more >>

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