Borrar filtros
Borrar filtros

access to data in another file

2 visualizaciones (últimos 30 días)
Elia
Elia el 27 de Nov. de 2014
Editada: Elia el 27 de Nov. de 2014
the folowing callback function is created in a seperated file, how can have access to the value of the toggle button i have created in other file tb is the name of the button
function display_button_value(hObject,callbackdata)
button_state = get(handles.tb,'Value');
if button_state == get(hObject,'Max')
set(findobj('type','line','Color','y'),'Visible','off')
elseif button_state == get(hObject,'Min')
set(findobj('type','line','Color','y'),'Visible','on')
end
end

Respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by