How to add a mini-script to the toolbar

13 views (last 30 days)
How do I add a custom tool to the Matlab toolbar? I was in a Matlab course and the instructor had us add a tool to the toolbar (just to the left of the search bar). I'd like to use this feature again, but I don't remember how he did it.
The tool was a simple script that closes all figures, and clears variables and the command window:
clc
clear
close all

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 26 Apr 2024

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!