sltest.testmanager.setpref
Set Test Manager preferences
Syntax
Description
sets Test Manager preferences in settings
= sltest.testmanager.setpref(group
,preference
,value
)group
, specified by
preference
, and value
.
updates the specified releases in your preferences with the ones specified by
settings
= sltest.testmanager.setpref('MATLABReleases','ReleaseList',releasePrefs
)releasePrefs
. This preference lets you use releases other than the
current release for testing.
This syntax replaces the existing list of added releases. Including a release path that
is already in the release preferences returns an error. To include that release in the
releasePrefs
, first delete the existing release list.
adds the specified settings
= sltest.testmanager.setpref('MATLABReleases',release
,releasePref
)release
to the list of releases in Test Manager
preferences. Set releasePref
to {[]}
to delete that
release.
shows the simulation logs at the MATLAB® command prompt when simlog_setting
= sltest.testmanager.setpref('ShowSimulationLogs','IncludeOnCommandPrompt',value
)value
is true
. The
default value is false
.
sets the name to use for test result sets. The specified name applies to
all result sets for tests that you run after you set the
preference. This function does not change the names of existing result sets.name_setting
= sltest.testmanager.setpref('ResultSetProperty','ResultSetName',name
)