MATLAB: Exporting an Image from a GUI to the Command Line

guidematlab gui

As the question states, I'm trying to allow the user to export an image from a GUI onto the command line. My GUI allows the user to perform operations on an image, but if they want to export the image to the command line and use a function that I don't have the capability for in my GUI, then how do I allow them to do that?

Best Answer

  • Example:
    assignin('base','img',yourpic)