Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 637de299 authored by DIB Elian's avatar DIB Elian Committed by Naethis
Browse files

Create folder when non existing

parent 100281bd
No related branches found
No related tags found
No related merge requests found
function m = get_mat(folder,name,isWritable)
function m = getMat(folder,name,isWritable)
%GET_MAT Summary of this function goes here
% Detailed explanation goes here
if isWritable && ~exist(folder,'dir')
mkdir(folder);
end
namemat = fullfile(folder,[name,'.mat']);
m = matfile(namemat,'Writable',isWritable);
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment