-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlancer_programmeEN.m
59 lines (41 loc) · 1.65 KB
/
lancer_programmeEN.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
function lancer_programme
% Merci de lancer ce script pour lancer le programme.
% Please launch this script in ordre to lauche the program
%% Ajout du répertoire Modèle au chemin de Matlab
% Adds the repository "Modèle" to the Matlab pathway
chemin = fullfile(pwd,'Modele');
chemin_matlab = genpath(chemin);
addpath(chemin_matlab);
%% Ajout du répertoire Vue au chemin de Matlab
% Adds the repository "Vue" to the Matlab pathway
chemin = fullfile(pwd,'Vue');
chemin_matlab = genpath(chemin);
addpath(chemin_matlab);
%% Ajout du répertoire Controleur au chemin de Matlab
% Adds the repository "Controleur" to the Matlab pathway
chemin = fullfile(pwd,'Controleur');
chemin_matlab = genpath(chemin);
addpath(chemin_matlab);
%% Ajout du répertoire Interface Homme Machine au chemin de Matlab
% Adds the repository "Interface Homme Machine" (Man Machine Interface) to the Matlab pathway
chemin = fullfile(pwd,'Interface Homme Machine');
chemin_matlab = genpath(chemin);
addpath(chemin_matlab);
%% Ajout du répertoire altmany-export_fig au chemin de Matlab
% Adds the repository "altmany-export_fig" to the Matlab pathway
chemin = fullfile(pwd,'altmany-export_fig');
chemin_matlab = genpath(chemin);
addpath(chemin_matlab);
%% Ajout du répertoire Tests au chemin de Matlab
% Adds the repository "Tests" to the Matlab pathway
chemin = fullfile(pwd,'Tests');
chemin_matlab = genpath(chemin);
addpath(chemin_matlab);
%% Lancement du programme
% Launching the program
% On instancie le modèle
% Instantiates the model
modele = Modele;
% On instancie le contrôleur
% Instantiates the controler
controleur = Controleur(modele);