saveChanges
Description
saveChanges(
returns
connectionObj
)1
(true
) if the data connection successfully saves
data in memory to the connected data source connectionObj
, and
0
(false
) otherwise.
The behavior of the saveChanges
function depends on the connected
data source:
Base workspace — The function returns an error.
Model workspace
Data source is the model file — The function saves the model.
Data source is a MAT file or
.m
file — The function saves the data to the file.Data source is MATLAB® code — The function returns an error.
MAT file — The function saves the data to the MAT file.
Data dictionary — The function saves the data dictionary and referenced dictionaries.
Examples
Input Arguments
Version History
Introduced in R2024a