Guy and Seth on Simulink

Results for: Performance

slLinearizer: Batch Linearization of Simulink Models

Posted by Guy Rouleau,

slLinearizer: Batch Linearization of Simulink Models This week I am happy to welcome guest bloggers Charu Fadnavis and Erman Korkut to introduce the new slLinearizer interface from Simulink Control Design. linearize vs. slLinearizer If you have used Simulink Control Design in the past, the first thing you might wonder is: Why a new interface to linearize Simulink models? If... read more >>

Zero-Crossing Detection… what are your options? 1

Posted by Guy Rouleau,

Zero-Crossing Detection… what are your options? When using Simulink variable-step solvers, zero-crossing detection is very useful to capture events accurately. However for some equations, configuring zero-crossing detection can be challenging. Last week I received the following question and example model: In the attached model, I implemented a basic bang-bang controller for a plow. Using a Sign block, I... 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 >>

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 >>

5 Resources for Simulation Performance 8

Posted by Seth Popinchalk,

5 Resources for Simulation Performance Following Guy's recent post with Tips for Simulation Performance, I thought I would provide a couple links for additional resources. Here they are: The Simulink Performance Master Class Earlier this year some of my colleagues put together a collection of tips and examples of how to speed up Simulink. They... 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 >>

Parallel Computing with Simulink: Running Thousands of Simulations! 11

Posted by Seth Popinchalk,

Parallel Computing with Simulink: Running Thousands of Simulations!  If you have to run thousands of simulations, you will probably want to do it as quickly as possibly. While in some cases this means looking for more efficient modeling techniques, or... read more >>

Parallel Computing with Simulink: Model Reference Builds 8

Posted by Seth Popinchalk,

Parallel Computing with Simulink: Model Reference Builds 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 make a video this week. (Thanks Doug! Check out Doug’s MATLAB Video Tutorials.) The topic... read more >>

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