How to display a .mat file in an axes
7 views (last 30 days)
How to display a .mat file in a axes in GUI. I have a out.mat file obtained from another GUI operation . I want to open this file in a new GUI that has an axes field to it . When I click a pushbutton called image I must be able to show that out.mat on the axes field. Any help on how to do it.
Walter Roberson on 19 Jun 2021
file_struct = load('out.mat');
embedded_image = file_struct.embedded_image;
Note: the out.mat file has a figure stored inside it, and that figure will become visible... probably confusing people. You can make it invisible by
file_struct.handles.figure1.Visible = 'off';