필터 지우기
필터 지우기

disable source control system [Without ] matlab GUI

조회 수: 4 (최근 30일)
Mohammadjavad Ranji
Mohammadjavad Ranji 2020년 10월 16일
답변: Chidvi Modala 2020년 10월 28일
Hi there,
I have many windows machine and each with multiple matlab version 2014,2015a,b to 2020a,b. Is there any way to disable source control system to "None" without GUI. I means by running command from windows command prompt or running a matlab function from command prompt to set source control to "None".generally looking for some automatic(programmatically) and fast way to change this and maybe other preference settings?
Thank you in advanced

답변 (1개)

Chidvi Modala
Chidvi Modala 2020년 10월 28일
There are undocumented functions, which could be used for this:
com.mathworks.sourcecontrol.prefs.SCSettingsUtilities.isMWSourceControlEnabled
This gives you the status of the Source Control System, and can be enabled or disabled by the following commands:
com.mathworks.sourcecontrol.prefs.SCSettingsUtilities.disableMWSourceControlPersistent
com.mathworks.sourcecontrol.prefs.SCSettingsUtilities.enableMWSourceControlPersistent
As this functionality is undocumented, it might have side implications.

카테고리

Help CenterFile Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품


릴리스

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by