DEBUG, CHECK ERRORS TO RUN MATLAB
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
close all; clear all; clc;
fileNameVerStable = 'U2044XA_MY55090001_NORM_FADC_0degC.csv';
verifyExternalStableRADC = 0 ;
showDetailedResidualErrorsVer =0;
tempFileName = strsplit( fileNameVerStable, '.csv');
fileVerNameDisplay = tempFileName;
%%%%%%%%%%%%%%%%%%%%
Unit = 'U2049XA_HQ10000024_NORMFILTOFF_FADC';
fileName ='U2049XA_HQ10000044_NORM_FADC_ORIcombined.xlsx' ;
inputFileName = cellmat (fi);
Sorting_hhc100(Unit) = [fileName, inputFileName];
% To create temporary File
tempFilename = strsplit(fi,'-');
%STR = importdata ('U2043XA_MY54520003_AVER_FADC.csv');
%tempfileName = regexprep (STR, '<.*?>' , ' ');
fileNameDisplay = [tempFileName(1,1) tempFileName(1,2)];
%%this is assumed u have combined the data from code above. U can input the
%%combined filename to fasten the routine
% eg : fileName ='U2049XA_HQ10000028_AVER_FADC_combined.csv';
% fileName ='U2043XA_MY54520003_AVER_FADC.csv';
% inputFileName = fileName;
댓글 수: 4
Wee Shan Chong Yap
2017년 7월 12일
Geoff Hayes
2017년 7월 12일
Where have you defined fi? Is this a string (which is valid input to strsplit or something else? You also use fi as
fileName ='U2049XA_HQ10000044_NORM_FADC_ORIcombined.xlsx' ;
inputFileName = cellmat (fi);
Does this mean that fi is a cell array? Please clarify.
Wee Shan Chong Yap
2017년 7월 20일
Walter Roberson
2017년 7월 20일
What is cellmat ? Do you mean cell2mat ?
fi does not exist in your code unless you have a function by that name. You have "clear all" so there is no possibility of it being a variable that was defined before the code we can see.
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!