- Open the live script in MATLAB Online by opening the links below.
- "Save New Copy" of the repository when prompted in MATLAB Online. The repo will be saved in your MATLAB cloud storage (all UBC students will have their own cloud storage).
- To run the live scripts: (a) section by section, navigate to the Editor tab and click on Run Section (b) in one go, navigate to the Editor tab and click on Run
To run the simulation live scripts in MATLAB Online, visit the links below.
The main simulation package will allow you to interact with the CAD model in Simulink, view block diagrams as well as view signals in both spatial and frequency domains. Run the live script below for an interactive experience:
The Particle Swarm Optimization package allows you to configure parameters when performing metaheuristic tuning on the root simulation model. The optimization algorithm will return a CSV file of PID values:
To create a link to the live script on MATLAB Online, visit the following link: MATLAB Online Link Creator