Plecs Get
plecs_getReads a PLECS component or model parameter and returns string values; omit the parameter name to retrieve all parameters, including C-Script code sections for debugging compilation errors.
Instructions
Read a component/model parameter (model params too, e.g. "TimeSpan").
Values come back as strings; without parameter a dict of all parameters is returned.
For a C-Script component this includes Declarations, StartFcn, OutputFcn, UpdateFcn,
DerivativeFcn and TerminateFcn, which is the first step after a compilation error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| parameter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||