필터 지우기
필터 지우기

how can I file-open menu in my gui application ?

조회 수: 3 (최근 30일)
alex
alex 2012년 2월 22일
I am about to write gui application that reads data in file and plots it my question is how to write file-read menu in matlab's GUI,so that user can choose file to work with only by mouse click ? somthing similiar to WORD,when you click on file,choose open, and when you can see all files in directory.
Any help would be great.
Thank you.
  댓글 수: 1
Jan
Jan 2012년 2월 22일
Do you create the GUI programmatically or using GUIDE?

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

채택된 답변

Jan
Jan 2012년 2월 22일
You can add a menu in the menubar either using GUIDE or programmatically. The callback of this menu should contain a call to uigetfile to get the filename.
  댓글 수: 1
alex
alex 2012년 2월 24일
Thank you for answering me
something I wanted to make clear
when i'am using: Toolbar editor-open file tool
there is no code added(generated automatically) in _.m file
so,when exactly the file is in runtime ?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by