From eedd7db261ba4b8de9d451558a403ee09f2b73bf Mon Sep 17 00:00:00 2001
From: Elian Dib <elian.dib@inria.fr>
Date: Tue, 11 Dec 2018 10:44:30 +0100
Subject: [PATCH] Added function to get handle to mat file

---
 getMat.m | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 getMat.m

diff --git a/getMat.m b/getMat.m
new file mode 100644
index 0000000..d658493
--- /dev/null
+++ b/getMat.m
@@ -0,0 +1,7 @@
+function m = get_mat(folder,name,isWritable)
+%GET_MAT Summary of this function goes here
+%   Detailed explanation goes here
+
+namemat = fullfile(folder,[name,'.mat']);
+m = matfile(namemat,'Writable',isWritable);
+end
\ No newline at end of file
-- 
GitLab