MATLAB Environment Control

Interact programmatically with the MATLAB® environment

Functions

commandhistory Open Command History window, or select it if already open
commandwindow Open Command Window, or select it if already open
filebrowser Open Current Folder browser, or select it if already open
workspace Open Workspace browser to manage workspace
getpref Preference
setpref Set preference
addpref Add preference
rmpref Remove preference
ispref Test for existence of preference
matlab.io.saveVariablesToScript Save workspace variables to MATLAB script
Was this topic helpful?