Save data
save_dataSave workspace variables to MDF, MAT, H5, or ASCII files at a specified path; optionally select variables, or omit selection to save all (H5 may require names).
Instructions
Save workspace variables to a file. Use project_action(save) to save the .sim project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Save format: mdf / mat / h5 / ascii. | |
| file_path | Yes | Destination path. | |
| var_names | No | Variables to save; omit = all (except h5 may require names). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |