Select 'Stop Time' can be selected using matlab script.

Good Day.
I would like to ask for some help regarding the Stop time parameters. Is there any way that I can select the values of the Stop time?
For example:
Case A:
Stop time = 0.05
Case B:
Stop time = 0.05*2
Case C:
Stop time = 0.05*4
Thank you in advance.

1 Comment

Gran - which stop time parameter are you referring to? Is this a variable in some custom code or part of a built-in MATLAB function? Depending upon what your A, B and C are, you could use a switch or if/elseif control flow.

Answers (0)

This question is closed.

Tags

Asked:

on 5 Jul 2018

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!