vssSetSimParFinalTime
Set the simulation final time.
Syntax
vssSetSimParFinalTime(sparams,ftime)
Inputs
- sparams
- Simulation parameters handle
- ftime
- Final time
Example
Create evaluator, retrieve the respective simulation parameters handle and set the desired simulation parameter value.
modelpath = 'C:/Users/ActivateModel.scm'
ff = vssCreateEvaluator(modelpath);
mdl = ff();
sparams = vssGetModelSimParams(mdl);
vssSetSimParFinalTime(sparams,50);