In this article, you’ll learn what model-based design is all about—the drawbacks and advantages—illustrated through real-life examples. We’ll see: What model-based...
Sometimes in Simulink, you’ll have to write code that adds, reviews, and modifies constant blocks since it’s way too long to apply modifications manually on a very...
In this article, you’ll see how to build a Simulink model from a MATLAB script. (You can find the complete script at the end of the article.) More specifically,...
After reading this article, you’ll be able to lock a library from MATLAB. We will start with the Simulink model named “mySimpleModel.slx,” including a subsystem linked...
In this article, we will describe the reasons why you may want to consider documenting your models and what to document if you choose to do so. Tracking Quality Metrics for...
This article illustrates the basic model-based design mistakes made in Simulink that the function checkModel (from the previous related article) will address. Here’s the...
Let’s say you are done with modifying your model and you want to make sure you that it is “clean” before closing it. In this article, we’ll see what...
In this article, you will learn to write information from your model in a text file using the MATLAB command fprintf. Let’s say you have a model that you want to check...
You may want to disable every library link in your model. This could happen if: You are using a non-official version of your model that you would like to manipulate more...
In the article, you will learn: How to review the block parameters of one block in your model How to review the block parameters of every block in your model Get the...