Run a short code in a big program

2 views (last 30 days)
ly
ly on 12 Sep 2015
Commented: ly on 12 Sep 2015
Hi!
I have a big program about 250 rows. It is included 3 parts. Part 1 is from 1-60 rows, Part 2 is from 61-150, Part 3 is the last.
Now I want to run Part 1 and disable Part 2 and 3. After that I want to run Part 2 and disable Part 1 and 3.
Running each part to make sure it is working or not and save time.

Accepted Answer

the cyclist
the cyclist on 12 Sep 2015
One of the easiest ways to do this is to use code sections.

More Answers (0)

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!