Let’s have a look at how this works.
A GitHub repository for Man on Simulink materials
![](https://blogs.mathworks.com/simulink/files/GitHub_and_MATLAB_Online_1.png)
Opening Weblog Posts in MATLAB On-line
Did you discover the Open in MATLAB On-line badge on the finish of my final weblog submit?
For those who click on on the hyperlink the next will occur:
- MATLAB On-line will open and ask you to log in utilizing your MathWorks account
![](https://blogs.mathworks.com/simulink/files/GitHub_and_MATLAB_Online_3.png)
![](https://blogs.mathworks.com/simulink/files/GitHub_and_MATLAB_Online_4.png)
- The MATLAB stay script will open within the MATLAB Editor, prepared so that you can learn, execute, and modify.
![](https://blogs.mathworks.com/simulink/files/GitHub_and_MATLAB_Online_5.png)
This could make it simple so that you can try to modify my examples immediately in your internet browser.
A Simulink Instance
It could be unhappy to finish this submit with out no less than opening and simulating a Simulink mannequin. Right here is an easy mass-spring-damper mannequin:
mdl = ‘ex_modeling_simple_system’;
Here’s what the mannequin appears like in MATLAB On-line:
![](https://blogs.mathworks.com/simulink/files/GitHub_and_MATLAB_Online_6.png)
We are able to simulate it:
in = Simulink.SimulationInput(mdl);
![](https://blogs.mathworks.com/simulink/files/GitHub_and_MATLAB_Online_7.png)
Now it is your flip
Begin proper now and open this weblog submit in MATLAB On-line:
I hope you’ll like this new method to simply entry all of the recordsdata wanted to breed my weblog posts.