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

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

댓글을 달려면 로그인하십시오.

Jan
Jan 2013년 3월 4일

0 개 추천

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