How to write GUI code for creating browsing window?

Please help me to create Gui for browsing models. I am going to write a code for testing models in simulink. I am totally new here.

回答 (2 件)

Sean de Wolski
Sean de Wolski 2013 年 3 月 4 日

1 投票

doc uigetfile %?
Please be a lot more explicit in your question.

5 件のコメント

Priyanka
Priyanka 2013 年 3 月 6 日
I want to test a model which is made by using the blocks in simulink library browser. I am going to test some faults on that according to mack guidelines. For that I am going to creat a GUI. I need help to brows and open that models for testing in GUI.
Sean de Wolski
Sean de Wolski 2013 年 3 月 6 日
Yes, have you read the documentation for uigetfile? It opens the OS native browsing window and allows you to select files at will.
Priyanka
Priyanka 2013 年 3 月 6 日
but it returns the XML file name . . . Will you please elaborate . . . . When we run any software on OS it asks to brows path for particular file . . . . . Likewise how I can creat that in GUI and brows that created models. . . .
Sean de Wolski
Sean de Wolski 2013 年 3 月 6 日
use so use uigetfile:
[p,fp] = uigetfile({'*.slx';'*.mdl'})
Priyanka
Priyanka 2013 年 3 月 7 日
ok thanks. I will try and if any problem ask you later

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

Jan
Jan 2013 年 3 月 4 日

0 投票

Please explain the problem more specific. "Model" could mean nearly everything.

1 件のコメント

Priyanka
Priyanka 2013 年 3 月 7 日
Model belongs to simulink library. It is made up of clocks using simulink library.

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

カテゴリ

製品

タグ

質問済み:

2013 年 3 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by