mw.desktop.addressBar.displayedRoots Extension Point (Beta)
Note
Extension points are available only as part of the new desktop for MATLAB®. The new desktop for MATLAB is in beta development and should not be used for development or production activities. For more information, see Get Started with the New Desktop for MATLAB (Beta).
You can customize the list of displayed roots in the address bar using the
mw.desktop.addressBar.displayedRoots
extension point.
To customize the list of displayed roots in the address bar:
Create a JSON-formatted file named
extensions.json
and place it in a folder namedresources
.Add a set of JSON declarations to
extensions.json
that defines one or more displayed roots.Add the folder containing the
resources
folder to the MATLAB path. To add the folder to the path, use theaddpath
function or right-click the folder in the Files panel and select Add to Path > Selected Folders and Subfolders.
This JSON code shows the basic structure of the
mw.desktop.addressBar.displayedRoots
extension point.
{ "mw.desktop.addressBar.displayedRoots": [ { "label": "SandboxRoot", "icon": "./sandbox.png", "path": "/path/to/sandbox" }, { "label": "MATLAB Drive", "icon": "./cloudFolder.svg", "path": "/path/to/MATLABDrive" }, { "label": "MATLAB Add-Ons", "icon": "./addOns.jpg", "path": "/path/to/MATLABAddOns" }] }
For more information about using extension points, see Extend MATLAB Using Extension Points (Beta)
Properties
Version History
Introduced in R2024b