If you put a breakpoint in embedding_radiobutton_Callback then what shows up for class(stegoimage)?
I speculate that it might be a character vector that is the name of a file rather than being the content of the file.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!