필터 지우기
필터 지우기

loading files to show in GUI axes

조회 수: 1 (최근 30일)
joanna
joanna 2012년 9월 3일
댓글: Anjali Chandak 2020년 6월 23일
[Merged information from duplicate question]
i used these codes hat i've got from the web to load files one at each time upon clicking the push button. but how do i load them by selecting 4 files and load them simultaneously in the GUI axes.
[nombre dire]=uigetfile('*.jpg','Load');
if nombre == 0
return
end
imagen=imread(fullfile(dire,nombre));
axes(handles.axes2)
imshow(imagen)
handles.img=imagen;
guidata(hObject, handles);

답변 (1개)

Jan
Jan 2012년 9월 3일
편집: Jan 2012년 9월 3일
Your code does not include any command to display the loaded data. Then it is expected, that the data are not displayed.
Please explain the format of the file and the wanted type of display, e.g. it matters if the file has a MAT-format and you want to draw some contained data as diagram, or if you want to import a JPEG and display it as image.
  댓글 수: 2
Anjali Chandak
Anjali Chandak 2020년 6월 23일
I have one query about the how to display the loaded data in gui using Matlab .and we already load the .mat file but I want to display the values in that .mat file. Your answer will help me in my project coding. Thank you
Anjali Chandak
Anjali Chandak 2020년 6월 23일
Which command I needy to use for display the loaded data

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by