Skip to content

Commit fec814f

Browse files
committed
save variables for postprocessing (QoL)
1 parent 7e4699a commit fec814f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ resources/**
1313
*.txt
1414

1515
# Animations
16-
anim
16+
anim
17+
18+
# Workspaces
19+
*.mat

sim/run_mission.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@
7272
end
7373
dv = y_raw(:, 7);
7474

75+
% write variables (so we can postprocess in the future)
76+
save(fullfile("outputs", cfg.casename, 'workspace.mat'), "cfg", "dv", "t", "y")
7577

7678
%% Post-run
7779
time_elapsed = toc;

0 commit comments

Comments
 (0)