資源簡介
基于MATLAB的代碼,將csv格式數據轉mat格式數據;
基于MATLAB的代碼,將csv格式數據轉mat格式數據
代碼片段和文件信息
%?June?09?2016
%?Sachin?Shrestha
%?Email:?shr34.sachin@gmail.com
%
%?Description:
%???????Matlab?script?to?read?the?csv?file?with?common?characters?in
%???????filename.
%???????For?e.g.?to?read?the?csv?files?starting?with?SampleCSV1_?like
%???????SampleCSV1_1?SampleCSV1_2?SampleCSV1_3?etc?from?the?folder
%???????containing?a?lot?of?csv?files?starting?with?other?names.
%???????In?MSDOS?there?is?a?wild?card?which?is?*?and?a?question?mark?
%???????replaces?the?characters?alike???????*.csv.
%%?
%?function?
sourceDir?=?‘C:\Users\ARIA\Desktop\imu_data‘;?%?location?of?your?csv?files
sourceFiles?=?dir(fullfile(sourceDir?‘*.csv‘));????%?filters?
評論
共有 條評論