Program code in MATLAB

1. From command window, Click File-> New-> Script​
2. Editor window will be opened, Write your code and save it
3. Click on Debug and then Run, or click the play button in menu bar, or just click F5.
4. If such window as below opens, then just click on Add to Path.
5. Your output will be displayed, if some input is required to be given then it has to be given in command window.

No comments:

Post a Comment