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.

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)

Put the code that you want to be executed when pushing 'ok' in the ok button's callback function.

3 Comments

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.

Sign in to comment.

Categories

Asked:

on 2 Apr 2012

Community Treasure Hunt

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

Start Hunting!