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
5b001c94
Commit
5b001c94
authored
4 years ago
by
Cristian Galperti
Browse files
Options
Downloads
Patches
Plain Diff
printMARTe2wgconfig now print a MARTe digestable MDSObjWavegen
parent
a4954bc8
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_mdsobjcontainer.m
+12
-6
12 additions, 6 deletions
code/classes/SCDclass_mdsobjcontainer.m
with
12 additions
and
6 deletions
code/classes/SCDclass_mdsobjcontainer.m
+
12
−
6
View file @
5b001c94
...
...
@@ -311,10 +311,13 @@ classdef SCDclass_mdsobjcontainer
nwavegen
=
1
;
fprintf
(
"+MDSWavegen_%s_%d = {\n"
,
busname
,
nwavegen
);
fprintf
(
" Class = MDSWavegen\n"
);
fprintf
(
" Shot = MDSSRCSHOT\n"
);
fprintf
(
" Frequency = %.2f\n"
,
frequency
);
fprintf
(
" Class = MDSObjWavegen\n"
);
fprintf
(
" Shot = MDSSRCSHOT\n"
);
fprintf
(
" Frequency = %.2f\n"
,
frequency
);
fprintf
(
" Verbosity = VERBOSITY\n"
);
fprintf
(
" Interpolation = 1\n"
);
fprintf
(
" TimeOffset = 0.0\n"
);
for
elem
=
1
:
nelems
signame
=
bus
.
Elements
(
elem
)
.
Name
;
found
=
false
;
...
...
@@ -345,9 +348,12 @@ classdef SCDclass_mdsobjcontainer
dimension
=
0
;
fprintf
(
"+MDSWavegen_%s_%d = {\n"
,
busname
,
nwavegen
);
fprintf
(
" Class = MDSWavegen\n"
);
fprintf
(
" Class = MDS
Obj
Wavegen\n"
);
fprintf
(
" Shot = MDSSRCSHOT\n"
);
fprintf
(
" Frequency = %.2f\n"
,
frequency
);
fprintf
(
" Frequency = %.2f\n"
,
frequency
);
fprintf
(
" Verbosity = VERBOSITY\n"
);
fprintf
(
" Interpolation = 1\n"
);
fprintf
(
" TimeOffset = 0.0\n"
);
server
=
actserver
;
tree
=
acttree
;
fprintf
(
' Server=%s\n'
,
server
);
...
...
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