vssGetSimParFinalTime

Get the simulation final time.

Syntax

vssGetSimParFinalTime(sparams)

ftime = vssGetSimParFinalTime(sparams)

Inputs

sparams
Simulation parameters handle.
Type: sparam
Dimension: -

Outputs

ftime
Simulation final time
Type: double
Dimension: scalar

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