how to execute Toolbar Buttons programmatically

Dear all,
I would like to execute a function which is called when pressing a Matlab toolbar button within a programm.
In particular I want to use the feature "Collapsa All" (Editor > View > Code Folding) see here, but do not know which function the Toolbar Button calls.
Is there a way to find out, which function is linked to a Toolbar Button?
Regards Andre

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

版本

R2021b

提问:

2021-10-2

Community Treasure Hunt

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

Start Hunting!

Translated by