initial commit
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,27 @@
|
|||||||
|
clear;
|
||||||
|
clc;
|
||||||
|
|
||||||
|
prompt = 'Initializing exporting';
|
||||||
|
str = input(prompt,'s');
|
||||||
|
|
||||||
|
if str == F
|
||||||
|
content = who('-file', 'M22H_FrontSuspension_Data.mat');
|
||||||
|
filename = 'FrontSuspension_Exported.xlsx';
|
||||||
|
elseif str == R
|
||||||
|
content = who('-file', 'M22H_RearSuspension_Data.mat');
|
||||||
|
filename = 'RearSuspension_Exported.xlsx';
|
||||||
|
|
||||||
|
fprintf('Initializing exporting process');
|
||||||
|
|
||||||
|
for i=1:length(content)
|
||||||
|
writetable(content, filename, 'Sheet', 'Front', 'WriteVariableNames', true);
|
||||||
|
|
||||||
|
quit = input('s');
|
||||||
|
end;
|
||||||
|
fprintf('Finished exporting')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
clear;
|
||||||
|
clc;
|
||||||
|
|
||||||
|
prompt = 'Press F for front or R for rear';
|
||||||
|
str = input(prompt,'s');
|
||||||
|
|
||||||
|
if str == F
|
||||||
|
content = who('-file', 'M22H_FrontSuspension_Data.mat');
|
||||||
|
filename = 'FrontSuspension_Exported.xlsx';
|
||||||
|
sheetName = 'Front';
|
||||||
|
elseif str == R
|
||||||
|
content = who('-file', 'M22H_RearSuspension_Data.mat');
|
||||||
|
filename = 'RearSuspension_Exported.xlsx';
|
||||||
|
sheetName = 'Rear';
|
||||||
|
|
||||||
|
fprintf('Initializing exporting process');
|
||||||
|
|
||||||
|
for i=1:length(content)
|
||||||
|
writetable(content, filename, 'Sheet', sheetName, 'WriteVariableNames', true);
|
||||||
|
end;
|
||||||
|
fprintf('Finished exporting')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Binary file not shown.
Reference in New Issue
Block a user