Clear Filters
Clear Filters

How do I link between two radio button and a button in gui?(steganography)

1 view (last 30 days)
Preferable example of a project please. I mention that this project using steganography. my project to use multiple algorithms.

Answers (1)

Image Analyst
Image Analyst on 26 Feb 2015
In the callback for your button, just get the radio button states and do different algorithms according to what was selected
rad1 = get(handles.radio1, 'value');
rad2 = get(handles.radio2, 'value');
rad3 = get(handles.radio3, 'value');
if rad1
% Run algorithm 1
elseif rad2
% Run algorithm 2
elseif rad3
% Run algorithm 3
end

Community Treasure Hunt

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

Start Hunting!