Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
alex
alex el 22 de Feb. de 2012
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 comentario
Jan
Jan el 22 de Feb. de 2012
Do you create the GUI programmatically or using GUIDE?

Iniciar sesión para comentar.

Respuesta aceptada

Jan
Jan el 22 de Feb. de 2012
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 comentario
alex
alex el 24 de Feb. de 2012
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 ?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by