Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCDDS-core
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
SPC
SCDDS
SCDDS-core
Commits
5e64eaa3
Commit
5e64eaa3
authored
3 years ago
by
Federico Felici
Browse files
Options
Downloads
Patches
Plain Diff
mostly cosmetic
parent
d8c457b9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/classes/SCDclass_expcode.m
+13
-8
13 additions, 8 deletions
code/classes/SCDclass_expcode.m
with
13 additions
and
8 deletions
code/classes/SCDclass_expcode.m
+
13
−
8
View file @
5e64eaa3
...
...
@@ -36,7 +36,7 @@ classdef SCDclass_expcode
mdscontainer
% container class for MDS+ interface objects
taskcontainer
% container class for generic init and term task objects
exportedtps
% list of tunable parameters variable to be exported
fpinits
% list of standard inits scripts
fpinits
% list of standard inits scripts
modeltoactualize
% name of the algorithm to actualize ('all' means all coonfigured)
algos
% list of algorithms objects
nodes
% array of node properties structs
...
...
@@ -306,13 +306,16 @@ classdef SCDclass_expcode
% and wavegens, call actualizedata for that
fprintf
(
'Setting up expcode %d,
''
%s
''
, configuring wrappers ...\n'
,
obj
.
maincode
,
obj
.
name
);
obj
=
obj
.
setupwrappers
;
fprintf
(
'Setting up main expcode data dictionary'
)
obj
=
obj
.
setupmaindd
;
obj
.
setupvaralgo
;
fprintf
(
'Setting up expcode %d,
''
%s
''
, configuring data dictionaries ...\n'
,
obj
.
maincode
,
obj
.
name
);
obj
.
setupwrapdd
;
obj
.
setupalgodd
;
fprintf
(
'Setting up variant model configuration'
)
obj
.
setupvaralgo
;
fprintf
(
'Setting up main expcode data dictionary'
)
obj
=
obj
.
setupmaindd
;
fprintf
(
'Setting up expcode %d,
''
%s
''
, configuring default tunable parameters ...\n'
,
obj
.
maincode
,
obj
.
name
);
obj
.
updatedefaulttp
;
fprintf
(
'Setting up expcode %d,
''
%s
''
, configuring global data ...\n'
,
obj
.
maincode
,
obj
.
name
);
...
...
@@ -330,8 +333,8 @@ classdef SCDclass_expcode
function
obj
=
setupmaindd
(
obj
)
% prepare main top-level SLDD
ddpath
=
which
(
obj
.
ddname
);
if
isempty
(
ddpath
)
dd
full
path
=
which
(
obj
.
ddname
);
if
isempty
(
dd
full
path
)
dd
=
Simulink
.
data
.
dictionary
.
create
(
fullfile
(
obj
.
ddpath
,
obj
.
ddname
));
else
dd
=
Simulink
.
data
.
dictionary
.
open
(
obj
.
ddname
);
...
...
@@ -340,7 +343,9 @@ classdef SCDclass_expcode
% link data dictionaries for active nodes
for
ii
=
obj
.
activenodes
dd
.
addDataSource
(
obj
.
nodes
(
ii
)
.
datadict
);
mydatasource
=
obj
.
nodes
(
ii
)
.
datadict
;
fprintf
(
'adding data source %s to %s\n'
,
mydatasource
,
obj
.
ddname
)
dd
.
addDataSource
(
mydatasource
);
end
% Set up RFM bus
addRFMbus
(
obj
,
dd
)
...
...
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