Start the simulation
cm_start_simStarts the loaded CarMaker test run and returns once it is running. If Simulink model compilation fails, it reports the error immediately; then call cm_wait_end to wait for completion.
Instructions
Start the loaded test run. Returns once it is running; fails at once, with Simulink's error, if the model does not compile. Then call cm_wait_end until it reports finished.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | save: write a result file (GUI storage mode becomes 'Save all', cm_revert_all puts it back). collect: buffer only. keep: leave the GUI setting alone | save |
| save_logs | No | Also save what Simulink logged in this run to a MAT file next to the result file, as cm_model_logs_save does; cm_wait_end returns it as logs_file | |
| start_timeout_s | No | How long the start may take (a Simulink model may compile first) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| state | No | ||
| popups | No | ||
| after_s | No | ||
| started | No | ||
| save_mode | No |