This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

matlab.general Settings

General settings including matfile settings

You can customize MATLAB® using the matlab.general settings. Access matlab.general settings using the root SettingsGroup object returned by the settings function. For example, set the temporary value for the MAT-file save format to 'v7.3' (where the default is 'v7').

s = settings;
s.matlab.general.matfile.SaveFormat.TemporaryValue = 'v7.3'

For more information about settings, see Access and Modify Settings.

matlab.general.matfile

Change the default MAT-file version using this setting.

SettingDescription
SaveFormat

MAT-File version to save MAT-files to, specified as 'v7.3', 'v7' (default), or 'v6'.

For more information about MAT-file versions, see MAT-File Versions.

Example: s.matlab.general.matfile.SaveFormat.TemporaryValue = 'v7.3'

Introduced in R2018a