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

3 ビュー (過去 30 日間)
woongki park
woongki park 2019 年 1 月 5 日
コメント済み: woongki park 2019 年 1 月 6 日
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 件のコメント
Walter Roberson
Walter Roberson 2019 年 1 月 6 日
[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 2019 年 1 月 6 日
thanks it's working now..
you are my lifesaver

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSoftware Development Tools についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by