Rename mat files
This commit is contained in:
@@ -93,15 +93,15 @@
|
||||
|
||||
micro_hexapod = stewart;
|
||||
if exist('./mat', 'dir')
|
||||
if exist('./mat/nass_stages.mat', 'file')
|
||||
save('mat/nass_stages.mat', 'micro_hexapod', '-append');
|
||||
if exist('./mat/nass_model_stages.mat', 'file')
|
||||
save('mat/nass_model_stages.mat', 'micro_hexapod', '-append');
|
||||
else
|
||||
save('mat/nass_stages.mat', 'micro_hexapod');
|
||||
save('mat/nass_model_stages.mat', 'micro_hexapod');
|
||||
end
|
||||
elseif exist('./matlab', 'dir')
|
||||
if exist('./matlab/mat/nass_stages.mat', 'file')
|
||||
save('matlab/mat/nass_stages.mat', 'micro_hexapod', '-append');
|
||||
if exist('./matlab/mat/nass_model_stages.mat', 'file')
|
||||
save('matlab/mat/nass_model_stages.mat', 'micro_hexapod', '-append');
|
||||
else
|
||||
save('matlab/mat/nass_stages.mat', 'micro_hexapod');
|
||||
save('matlab/mat/nass_model_stages.mat', 'micro_hexapod');
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user