matlab gui to exe error(i cannot load excel file)

3 visualizaciones (últimos 30 días)
woongki park
woongki park el 5 de En. de 2019
Comentada: woongki park el 6 de En. de 2019
i can not load excel file in exe file only
in matlab gui it works properly
here is my code.
%
[fileName,pathName]=uigetfile('*.xls','Select your file'); %온도 레코더
handles.fileName=[fileName,pathName];
[~,txt,~]=xlsread(fileName,'C27:C30000');
[Ch1,~,~]=xlsread(fileName,'E27:E30000');
%
  4 comentarios
Walter Roberson
Walter Roberson el 6 de En. de 2019
[fileName, pathName] = uigetfile('*.xls','Select your file'); %온도 레코더
if ~ischar(fileName)
error('User cancel file selection');
end
handles.fileName = fullfile(pathName, fileName);
[~,txt,~] = xlsread(handles.fileName, 'C27:C30000');
[Ch1,~,~] = xlsread(handles.fileName, 'E27:E30000');
woongki park
woongki park el 6 de En. de 2019
thanks it's working now..
you are my lifesaver

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Software Development Tools 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