vssGetSimParFinalTime
Get the simulation final time.
Syntax
vssGetSimParFinalTime(sparams)
ftime = vssGetSimParFinalTime(sparams)
Inputs
- sparams
- Simulation parameters handle.
Outputs
- ftime
- Simulation final time
Example
Create evaluator, retrieve the respective simulation parameters handle and get the desired simulation parameter value.
modelpath = 'C:/Users/ActivateModel.scm'
ff = vssCreateEvaluator(modelpath);
mdl = ff();
sparams = vssGetModelSimParams(mdl);
vssGetSimParFinalTime(sparams)
ans = 30