Line | |
---|
1 | %'reinit': delete the personal parameter file 'uvmat_perso.mat' |
---|
2 | |
---|
3 | %======================================================================= |
---|
4 | % Copyright 2008-2024, LEGI UMR 5519 / CNRS UGA G-INP, Grenoble, France |
---|
5 | % http://www.legi.grenoble-inp.fr |
---|
6 | % Joel.Sommeria - Joel.Sommeria (A) univ-grenoble-alpes.fr |
---|
7 | % |
---|
8 | % This file is part of the toolbox UVMAT. |
---|
9 | % |
---|
10 | % UVMAT is free software; you can redistribute it and/or modify |
---|
11 | % it under the terms of the GNU General Public License as published |
---|
12 | % by the Free Software Foundation; either version 2 of the license, |
---|
13 | % or (at your option) any later version. |
---|
14 | % |
---|
15 | % UVMAT is distributed in the hope that it will be useful, |
---|
16 | % but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
18 | % GNU General Public License (see LICENSE.txt) for more details. |
---|
19 | %======================================================================= |
---|
20 | |
---|
21 | function reinit |
---|
22 | dir_perso=prefdir; |
---|
23 | profil_perso=fullfile(dir_perso,'uvmat_perso.mat') |
---|
24 | if exist(profil_perso,'file') |
---|
25 | delete(profil_perso) |
---|
26 | end |
---|
27 | display('deleted') |
---|
Note: See
TracBrowser
for help on using the repository browser.