フィルターのクリア

Salam Alakaam:My problem is (I have many forms of GUI matlab)

2 ビュー (過去 30 日間)
computer s
computer s 2013 年 3 月 22 日
Salam Alakaam:My problem is (I have many forms of GUI matlab), when I use
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
close all;
openfig('form5.fig');
when opens form5 don't show (image inside the form) why don't show this image?
  2 件のコメント
Image Analyst
Image Analyst 2013 年 3 月 22 日
What happens? Does a figure open up at all? Does it say that it can't find the file?
computer s
computer s 2013 年 3 月 23 日
yes. open the figure , but image inside this figure is not show.

サインインしてコメントする。

採用された回答

Image Analyst
Image Analyst 2013 年 3 月 23 日
What image? If you have an image, why don't you have an axes and open a standard image file with imread() and display it with imshow()? Why do you have a fig file?
  2 件のコメント
computer s
computer s 2013 年 3 月 23 日
function form3_OpeningFcn(hObject, eventdata, handles, varargin) % This function has no output args, see OutputFcn. % hObject handle to figure % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % varargin command line arguments to form4 (see VARARGIN)
% Choose default command line output for form4 handles.output = hObject; axes(handles.axes1); bg = imread('25.jpg'); imshow(bg); axis off;
% Update handles structure guidata(hObject, handles);
I show this image when execute this form alone , but when connected this form with other form don't show image and show axis only are you understand me?
Image Analyst
Image Analyst 2013 年 3 月 24 日
Not really. Why don't you just save the image to disk and read it in your other GUI? Or else See the FAQ.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by