Loading files in GUI

4 visualizaciones (últimos 30 días)
Marek Rousek
Marek Rousek el 5 de En. de 2016
Comentada: Walter Roberson el 5 de En. de 2016
Hello,
I need advice. Creating a GUI for my program, where over pushbutton seeking loaded files. One kind of file is always appoints matice000.txt, the way it is, for example .:
D: \ Dropbox \ School \ 7.SEMESTR \ Project II \ Videos \ 640 \ marie \ marie-640-1a \ matice000.txt
But I need to string that describes the path of the matrix was only:
D: \ Dropbox \ School \ 7.SEMESTR \ Project II \ Videos \ 640 \ marie \ marie-640-1a
ie without \ matice000.txt
How do I set it to a string loaded when selecting a file is always erased the last signs?
Thanks for the reply.

Respuestas (1)

Ingrid
Ingrid el 5 de En. de 2016
your question is not clear to me but have you looked at the function fileparts?
  1 comentario
Walter Roberson
Walter Roberson el 5 de En. de 2016
I agree, fileparts() should be able to break it apart.

Iniciar sesión para comentar.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by