mw.desktop.quickAccess Extension Point
You can add items to the quick access toolbar using the
mw.desktop.quickAccess
extension point.
To add items to the quick access toolbar:
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 toolbar items. Define custom items in an"items"
array within the extension point.Add the folder containing the
resources
folder with theextensions.json
file 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.quickAccess
extension point.
{ "mw.desktop.quickAccess": { "items": [ { "name": "mytoolbox.MyQAItem", "type": "PushButton", "action": { "text": "Item 1", "description": "My quick action item 1", "icon": "./icons/Open_16.png", "callback": "myQAItemFunction" } } ] } }
When you add items to the quick access toolbar, they appear to the right of the Search box.
For more information about using extension points, see Extend MATLAB Using Extension Points
Properties
More About
Version History
Introduced in R2025a