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 个)

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

5 个评论

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.
Yes, have you read the documentation for uigetfile? It opens the OS native browsing window and allows you to select files at will.
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. . . .
use so use uigetfile:
[p,fp] = uigetfile({'*.slx';'*.mdl'})
ok thanks. I will try and if any problem ask you later

请先登录,再进行评论。

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

1 个评论

Model belongs to simulink library. It is made up of clocks using simulink library.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息

产品

标签

提问:

2013-3-4

Community Treasure Hunt

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

Start Hunting!

Translated by