Learn MATLAB Simulink step by step
Getting Started with Simulink, Part 1: How to Build and Simulate a Simple Simulink Model
The example shows how to build a simple model that takes a sine wave input and amplifies it. It outlines how Simulink makes it easy to drag and drop blocks into your model. It also shows how to run your simulation to verify that your model behaves as expected.
Getting Started with Simulink, Part 2: How to Add a Controller and Plant to the Simulink Model
Explore how to create a plant control model using Simulink®. The example walks you through how to create both open- and closed-loop systems. You’ll learn how to work with transfer functions, step blocks, and sum blocks.
Getting Started with Simulink, Part 3: How to View Simulation Results
Visualize simulation results using tools such as the Simulation Data Inspector to view and compare signal data from multiple simulations, or the Dashboard Scope to see your results directly in the Simulink® editor. These tools make it easy to assess the behavior of your system after each simulation run so that you can make changes for improved system performance.
Getting Started with Simulink, Part 4: How to Tune a PID Controller
Learn how to quickly change PID gain values using the PID controller block in Simulink®. Update the gain coefficients in your block by adjusting sliders or using the PID automatic tuning tool in Simulink Control Design™, and then instantly see the results of your changes.
Getting Started with Simulink, Part 5: How to Compare and Save Simulation Data
Use the Simulation Data Inspector in Simulink® to compare the results of multiple simulation runs. This lets you optimize the performance of your model, as it allows you to compare how changes in block or model parameters affect the behavior of your system. Open the results in MATLAB Figures to further annotate and add information to your figures.
Getting Started with Simulink, Part 6: How to Manage Your Simulink Model
Getting Started with Simulink, Part 7: How to Add Components to Your Simulink Model
Create subsystems and components in your Simulink® model. Create model references so you or your team can work on components independently from the top-level model.
Getting Started with Simulink, Part 8: How to Model Continuous and Discrete Systems in One Model
Switch between continuous and discrete domains. This example shows how to update a Simulink® PID controller block in order to move between the two domains.
Getting Started with Simulink, Part 9: How to Use Templates and Examples
Save and share your model as a template so team members can access it right from the Simulink® start page. In addition, explore examples that help get you started with models for many applications
No comments