Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gauthier Quesnel
irritator
Commits
51762908
Commit
51762908
authored
Mar 17, 2020
by
Gauthier Quesnel
Browse files
README: update input file format
parent
2b03e006
Pipeline
#9340
passed with stage
in 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.adoc
View file @
51762908
...
...
@@ -56,13 +56,21 @@ Simple file
[source]
''''
4
A generator 2 0.0 100.0 0
B generator 2 0.0 100.0 0
Add adder 2 1.0 1.0 0
C counter 1 0.0 0
3
A 0 Add 0
B 0 Add 1
Add 0 C 0
# '#' means comment until end of line
4 # 4 models will be allocated
A generator 2 0.0 100.0 0 # Model 'A' is a generator with one double real message
B generator 2 0.0 100.0 0 # Model 'B' is a generator with one double real message
Add adder_2 2 1.0 1.0 0 # Model 'Add' is a adder_2 with one double real message
C counter 1 0.0 0 # Model 'C' is a counter with one real message
3 # 3 internal connections
A 0 Add 0 # Model 'A' output port '0' connected to model 'Add' input port '0'
B 0 Add 1 # Model 'A' output port '0' connected to model 'Add' input port '0'
Add 0 C 0 # Model 'Add' output port '0' connected to model 'C' input port '0'
0 # 0 input connection
1 # 1 output connection
C 0 0 # Model 'C' output port '0' connected to coupled model port '0'
''''
The `string` for name contains only the following no-utf8 characters from the
POSIX, BSD and C99 norms: `isalnum() || isdigit(c) || _` in the i.e.
`0-9|a-z|A-Z|_`.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment