Hi i can open my file by use of
S = fileread('coord.txt')
but i want to combine this to my other code where i use
[filename,pathname] = uigetfile({'*.txt'},'Load Coordinates for structure');
so make S still read the file like before with fileread but i want to be able to combine this to a pop up window

 Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Nov. de 2019
fullname = fullfile(pathname, filename);
S = fileread(fullname);

Más respuestas (0)

Categorías

Más información sobre App Building en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 7 de Nov. de 2019

Comentada:

el 7 de Nov. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by