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.

Antworten (2)

Sean de Wolski
Sean de Wolski am 4 Mär. 2013
doc uigetfile %?
Please be a lot more explicit in your question.

5 Kommentare

Priyanka
Priyanka am 6 Mär. 2013
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.
Priyanka
Priyanka am 6 Mär. 2013
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'})
Priyanka
Priyanka am 7 Mär. 2013
ok thanks. I will try and if any problem ask you later

Melden Sie sich an, um zu kommentieren.

Jan
Jan am 4 Mär. 2013

0 Stimmen

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

1 Kommentar

Priyanka
Priyanka am 7 Mär. 2013
Model belongs to simulink library. It is made up of clocks using simulink library.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Tags

Gefragt:

am 4 Mär. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by