Guy and Seth on Simulink

Results for: Analysis

Configuring Models for Linear Analysis

Posted by Guy Rouleau,

Configuring Models for Linear Analysis One of the benefits of Model-Based Design is the ability to perform linear analysis on your non-linear model and design controllers using classical controls techniques. In R2013a, configuring your model for linear analysis with Simulink Control Design have been greatly improved. Let's take a look at how useful Linear... read more >>

Comparing Runs using Simulation Data Inspector 13

Posted by Guy Rouleau,

Comparing Runs using Simulation Data Inspector Do you use the Simulation Data Inspector? Here is an example where it saved me a lot of debugging time. Simulation Accuracy I recently had to validate system behavior and analyze numerical accuracy of a model. Making small modifications in one part of the model was leading to unexpectedly large differences at... read more >>

Automatically Improving Model Performance

Posted by Guy Rouleau,

Automatically Improving Model Performance Since I joined the technical support department at MathWorks, one of the questions I received the most often is: Can you make my model go faster? Over the years I gained experience with model performance and I now have a list of things in my head that I know can help. Some of... read more >>

An Ounce of Design Min/Max is Worth…

Posted by Guy Rouleau,

An Ounce of Design Min/Max is Worth… Often, it is worth putting a bit of extra effort at the beginning of a project to save time later. Today I want to introduce a feature that gets more useful with every release of Simulink, but unfortunately I think very few people use it: Signal Ranges How do Signal Ranges work? In... read more >>

THE Most Useful Command for Debugging Variable Step Solver Performance 2

Posted by Guy Rouleau,

THE Most Useful Command for Debugging Variable Step Solver Performance Today I want to share a trick I often use to determine if a variable step simulation runs as fast as it should. Visualizing the steps taken by a model To begin, save the simulation time data. This can be done from the Data Import/Outport pane of the model configuration. Once the simulation... read more >>

Fine-Tuning Model Advisor Analysis 2

Posted by Guy Rouleau,

Fine-Tuning Model Advisor Analysis Today I welcome my friend Nishaat Vasi to introduce a new feature of Simulink Verification and Validation: Model Advisor Exclusions. Nishaat: Hey Guy, did you notice the new Model Advisor Exclusions feature in R2012a? Guy: There are so many new features every release... I think I missed that one. What is it? Nishaat:... read more >>

Different Results in Accelerated Mode Versus Normal Mode 8

Posted by Guy Rouleau,

Different Results in Accelerated Mode Versus Normal Mode By Guy Rouleau This week I received a large model giving different results when used as a referenced model in Accelerated mode, compared to the Normal Mode. To give you an idea, the top model in this application looked like this: After a quick inspection of the model, I found nothing obvious.... read more >>

Wrong Answers and Gimbal Lock 6

Posted by Guy Rouleau,

Wrong Answers and Gimbal Lock By Guy Rouleau I received a request last week where the code generated using Real-time Workshop was giving different answers from the original simulation. This type of requests is the one that scares me the most, because the goal of Real-Time Workshop is to generate a code equivalent to a Simulink... read more >>

Tips for Simulation Performance 5

Posted by Guy Rouleau,

Tips for Simulation Performance By Guy Rouleau One of the questions I hear the most often from Simulink users is What can I do to make my model run faster? Here is a list of tricks that can help. Displays and Scopes When you have a display or a scope in your model, Simulink needs to update... read more >>

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