remove temp file

This commit is contained in:
Erick
2022-01-29 00:10:03 +01:00
parent bc0806843d
commit 3a976e9278
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
function [content, filename, sheetName] = selectSide(input);
function [content, fileName, sheetName] = selectSide(input);
%input 1 is front, 2 is rear
if rem(input, 2) == 0
content = who('-file', 'M22H_FrontSuspension_Data.mat');
filename = 'FrontSuspension_Exported.xlsx';
fileName = 'FrontSuspension_Exported.xlsx';
sheetName = 'Front';
elseif rem(input, 2) ~= 0
content = who('-file', 'M22H_RearSuspension_Data.mat');
filename = 'RearSuspension_Exported.xlsx';
fileName = 'RearSuspension_Exported.xlsx';
sheetName = 'Rear';
else
fprintf = 'An error occured!';