Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TSG QC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
US191
TSG QC
Commits
a262e727
Commit
a262e727
authored
17 years ago
by
Yves Gouriou
Browse files
Options
Downloads
Patches
Plain Diff
Modification de la structure d'initialisation de
la structure root
parent
24c4f28e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tsg_util/tsg_initialisation.m
+10
-0
10 additions, 0 deletions
tsg_util/tsg_initialisation.m
tsg_util/tsg_preferences.m
+1
-15
1 addition, 15 deletions
tsg_util/tsg_preferences.m
with
11 additions
and
15 deletions
tsg_util/tsg_initialisation.m
+
10
−
0
View file @
a262e727
...
...
@@ -176,3 +176,13 @@ tsg.REFERENCE_DATE_TIME = REFERENCE_DATE_TIME;
% Save tsg structure
% ------------------
setappdata
(
hMainFig
,
'tsg_data'
,
tsg
);
% init root structure to default values
% -------------------------------------
root
.
preference
.
autoload
=
'off'
;
root
.
version
=
'unknown'
;
root
.
preference
.
parameter
=
'SSPS'
;
% Save root structure in MainFig
% ------------------------------
set
(
0
,
'userdata'
,
root
);
This diff is collapsed.
Click to expand it.
tsg_util/tsg_preferences.m
+
1
−
15
View file @
a262e727
...
...
@@ -48,20 +48,11 @@ switch fid
% disactive the preference mode (for test or bug)
% -----------------------------------------------
case
-
2
% init root structure to default values
% -------------------------------------
root
.
preference
.
autoload
=
'off'
;
root
.
version
=
VERSION
;
% call default tsg_initialisation
% -------------------------------
tsg_initialisation
(
hTsgGUI
);
% save root in root object for next use
% -------------------------------------
set
(
0
,
'userdata'
,
root
);
return
;
% file exist and is open, fid > 2
...
...
@@ -74,7 +65,7 @@ switch fid
% Initialize loading preference file waitbar
% ------------------------------------------
wb
=
waitbar
(
0
,
'Loading pr
é
ference file. Please wait...'
);
wb
=
waitbar
(
0
,
'Loading pr
e
ference file. Please wait...'
);
% display waitbar
% ---------------
...
...
@@ -164,11 +155,6 @@ set(0, 'userdata', root);
% -------------------------------------
tsg
=
getappdata
(
hTsgGUI
,
'tsg_data'
);
% init root structure to default values
% -------------------------------------
root
.
preference
.
autoload
=
'off'
;
root
.
version
=
VERSION
;
% save root and tsg to 'prefdir.mat' file
% ---------------------------------------
save
(
config_file
,
'root'
,
'tsg'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment