필터 지우기
필터 지우기

change toggle button programatically (image processing toolbox)

조회 수: 1 (최근 30일)
Thomas
Thomas 2015년 2월 11일
I would like to toggle menu/toolbar items on/off programmatically for the implay function.
Specifically, I want to turn on the "Maintain Fit to View" item in the Menu:
set(findall(0,'tag','uimgr.spctogglemenu_Maintain'),'Checked','on');
Or, toggle the related icon in the toolbox
set(findall(0,'tag','uimgr.uitoggletool_Maintain'),'State','on');
These items do appear as changed in the menu/toolbar, but the callback functions do not execute like they do when the items are clicked on/off in the window.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Visual Exploration에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by