Info
この質問は閉じられています。 編集または回答するには再度開いてください。
My script modifies csv file that it should read only.
1 回表示 (過去 30 日間)
古いコメントを表示
I have a script that reads from .csv file and import data for further analysis. No it somehow modifies original file in a way tat it become use less for further usage.
clear %use with caution
clc %use with caution
close all %use with caution potentially clears everything
[rowv,vpath]=uigetfile({'*.csv';'*.*'},'Select Applied voltage datanfile');
filev=fullfile(vpath,rowv);
rawdata=dataset('file',filev,'delimiter',',');
t=double(rawdata(:,4));
v=double(rawdata(:,5));
r=9000; %curent sensing resistance value
[rowi,ipath]=uigetfile({'*.csv';'*.*'},'Select current signal file',vpath);
filei=fullfile(ipath,rowi);
rawdatai=dataset('file',filei,'delimiter',',');
i=(double(rawdatai(:,5))./9000);
[slope id1 id2]=analyzemydp(v,t,i,vpath,filev);
slope
clear rowv vpath filev;
clear filei rawdatai ipath rowi r rawdata
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!