From ce10bb9db00c035fa86f1e67729fa35f88af6da0 Mon Sep 17 00:00:00 2001
From: Antoine Hoffmann <antoine.hoffmann@epfl.ch>
Date: Mon, 20 Mar 2023 14:40:21 +0100
Subject: [PATCH] profiler is a function now

---
 matlab/profiler.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/matlab/profiler.m b/matlab/profiler.m
index 758f4958..4294f6da 100644
--- a/matlab/profiler.m
+++ b/matlab/profiler.m
@@ -1,3 +1,4 @@
+function [] = profiler(data)
 %% load profiling
 % filename = sprintf([BASIC.RESDIR,'outputs_%.2d.h5'],00);
 % outfilename = ['/misc/HeLaZ_outputs',filename(3:end)];
@@ -106,4 +107,5 @@ xlabel('Step Comp. Time [s]'); ylabel('')
 set(gca,'Xscale','log')
 FIGNAME = 'profiler';
 % save_figure
+end
 end
\ No newline at end of file
-- 
GitLab