Plecs Submit
plecs_submitStarts a long-running PLECS task (simulation, analysis, etc.) in the background and returns a task ID, enabling non-blocking execution and progress tracking.
Instructions
Start a long blocking call in the background and return a task id.
Allowed methods: simulate, analyze, codegen, exportfmu, runScript.
For runScript pass [model, {"ScriptName": name}]. PLECS has no cancel API;
use SolverOpts.Timeout to bound the run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| params | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||