xlsread reading in erroneous values.
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
I'm using xlsread in a compiled stand alone executable like so.
data = xlsread('filename.xls');
%'filename.xls' is one of the files compiled in the executable
% run specified analytics on 'data' and then print 'data'
This works on my local environment (windows 8) and returns the values that I need but when I send the exe to my coworkers xlsread returns crazy values that are no where near the values contained in the excel sheet. The same thing also happens when 'filename.xls' is passed to the exe separately (not packaged with it). Has anyone else encountered this problem or have any ideas as to how to fix it?
Thanks!
1 Kommentar
Star Strider
am 20 Jul. 2016
This seems a problem in deploying your executable rather than only with xlsread. It might be best if you asked it in that context. Be sure to mention the important characteristics of the computers you are deploying it on, since that could be part of the problem.
Antworten (1)
Azzi Abdelmalek
am 20 Jul. 2016
Maybe you need to specify the path
path='C:\Users\malek\Google Drive\matlab'
name=fullfile(path,'filename.xls')
data = xlsread(name);
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!