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.

Answers (2)

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

5 Comments

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

Sign in to comment.

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

1 Comment

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

Sign in to comment.

Products

Tags

Asked:

on 4 Mar 2013

Community Treasure Hunt

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

Start Hunting!