How to run matlab program?

1, open the matlab software.

2. Find the specified m file and open it.

3. Find "%"in the menu bar.

4. Select all codes that don't need to be run.

5. Select and click "%".

6, this is to see that the code turns green, which means that it has been commented, that is, it will not run.

7. Click Run again, and you will find that the program in the green part is no longer running.