LabVIEW Control Design and Simulation Module

SIM_SolverGetData (ESI Function)

  • Updated2023-03-14
  • 1 minute(s) read

SIM_SolverGetData (ESI Function)

Owning Class: Solver API

Requires: Control Design and Simulation Module

Prototype

void* SIM_SolverGetData(SIM_Solver *solver);

Description

Returns a pointer to data you allocate with the SIM_SolverSetData function. Call the SIM_SolverSetData function during the Initialize function to allocate data and set a pointer to that data.

Examples

Inputs

Name Description
solver Specifies a reference to the external ODE solver. Use this reference as an input to other ESI functions. Do not modify solver directly.

Examples

void* myDataPtr = SIM_SolverGetData(solver);

Related Topics

Finalize
Initialize
SIM_SolverSetData

Log in to get a better experience