Mostrar comentarios más antiguos
Respuestas (1)
Jan
el 6 de Feb. de 2012
The syntax importdata(uigetfile) catchs only one output from uigetfile. To specify the path, you need to catch the 2nd output also:
[FileName, FilePath] = uigetfile;
if ~ischar(FileName)
disp('User aborted file input.');
return;
end
N.Horro = importdata(fullfile(FilePath, fileName));
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!