How to set matlab general preference of initial working folder and deleting files programatically ?

1 次查看(过去 30 天)
I need the syntax of programatically setting matlab general preferences of working folder and deleting files. I have seen some syntaxes of using settings object to access matfile version to be saved and editor related preferences. If anybody have idea of doing this programatically please share your thoughts.

回答(1 个)

Ishan Gupta
Ishan Gupta 2022-7-28
Eg: to save matfiles as version 7.3
s = settings;
s.matlab.general.matfile.SaveFormat.TemporaryValue = 'v7.3';
You can refer to this documentation for more details.
https://in.mathworks.com/help/releases/R2020a/matlab/matlab_external/access-and-modify-settings.html

类别

Help CenterFile Exchange 中查找有关 MATLAB Code Analysis 的更多信息

产品


版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by