Is there a way to fix an order on executing a script with multiple sections ?

Hi
I have a script with multiple sections and I was wondering if there was a way to fix an order of executing the sections. For example :
Section 1, 2 and 3 ==> sometimes I want section 2 to be executed before 1 or 3 before 1 or any other order.
Thanks in advance, and please accept my apologies if there's a trivial way because I am not an expert.

2 commentaires

I want to Add that the sections are independant.
And that there's way more than 3 sections, that's why I can't execute one by one.

Réponses (0)

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by