Save a Simulink model
cm_model_saveSave a loaded Simulink model that resides in a project. A backup is created before saving to protect against data loss.
Instructions
Save a loaded Simulink model. The file must be inside the project; it is backed up first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "cm_model_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Name of the loaded model |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||