Run a short code in a big program

4 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 File Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by