Using xlsread with convertSpreadsheetDates in Compiled MATLAB code
Mostra commenti meno recenti
I'm creating a compiled Matlab script for analyzing excel data which contains dates. The handy convertSpreadsheetDates function handle which can be passed into the xlsread function appears to cause an error when running the compiled code from the console:
Error using xlsread (line 247)
Function convertSpreadsheetDates does not exist.
Error in importfile (line 36) % this is the calling line for xlsread()
Error in CallingScript (line 29) % this is the calling line for importfile()
MATLAB:narginout:functionDoesnotExist
I've included importfile.m, convertSpreadsheetDates.m, nargin.m, nargout.m in the Shared resources list of the Build tab. I'm running version R2013a. If it matters, importfile.m is located in a subdirectory. What else can I do? I could convert the dates myself, but if the codes already been written, why duplicate work?
Thanks for the help!
1 Commento
Matthew
il 9 Ott 2013
Risposte (1)
Matthew
il 10 Ott 2013
0 voti
Categorie
Scopri di più su MATLAB Compiler in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!