Today I want to share two lines of code I find very useful. The problem I often need to exchange models with users. One of the thing people struggle the most while doing that is providing the... 続きを読む >>
Today I want to share two lines of code I find very useful. The problem I often need to exchange models with users. One of the thing people struggle the most while doing that is providing the... 続きを読む >>
How often you end up wondering what the value of a block parameter in Simulink is? In the past, I used to open the block dialog, copy the variable name, go the MATLAB prompt, paste the value... 続きを読む >>
Today I want to share a trick I recently found out. The Problem: Getting the Value of Nested Mask Parameters I want to write a script that will look in a model for blocks of a particular type,... 続きを読む >>
This week I discovered that event listeners also work with bus signals! You might be saying: "What is an event listener?" In this post, I will describe how to register an event listener for a bus... 続きを読む >>
If you create and maintain Simulink libraries used in many models, or by many people, I think you will like this R2012a new feature: Interactive Library Forwarding Tables for Updating Links. Note:... 続きを読む >>
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... 続きを読む >>
By Guy Rouleau One question I often receive is: How can I change the value of a block parameter while the simulation is running? A good example of this type of question is the following: How do... 続きを読む >>
Update: Original videos have been removed form this blog post. To see similar content, please see this link: Improved Signal Management with Model Explorer By Parasar Kodati Working with models... 続きを読む >>
/* Publisher style MATLAB code */ pre.codeinput { background: #EEEEEE; padding: 10px; } @media print { pre.codeinput {word-wrap:break-word; width:100%;} } span.keyword {color:... 続きを読む >>
Most Simulink models use workspace variable to define the important parameters. For example, setting the gain value to K and then defining K in the workspace. I wrote about initializing these... 続きを読む >>