I am preparing a gui for an application which performs steganography. I am done with the code. I am facing problem to code OK button.
Show older comments
In my gui I am placing check boxes and radio button so as to enable different steganographic operations by incorporating code to respective radio buttons. Now after I upload the images and select various radio buttons(stego operation), I want the gui to display the relevant result on just clicking the "OK" button.
Answers (1)
Sean de Wolski
on 2 Apr 2012
0 votes
Put the code that you want to be executed when pushing 'ok' in the ok button's callback function.
3 Comments
Walter Roberson
on 2 Apr 2012
Or at least put a call to the code.
Prathamesh murudkar
on 2 Apr 2012
Walter Roberson
on 2 Apr 2012
Use the debugger to insert a breakpoint at the beginning of the callback function to be sure that it is getting called.
Make sure that the Callback property of the button refers to the same function name as you worked with. For example, that you did not use the digit 1 in one place but lower-case L in another place.
Categories
Find more on Encryption / Cryptography in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!