Skip to content

Commit 4746950

Browse files
authored
Tiny blocks documentation updates
1 parent 918d577 commit 4746950

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/Blocks/sources.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ end
157157
Cosine(; name, frequency, amplitude = 1, phase = 0, offset = 0, start_time = 0,
158158
smooth = false)
159159
160-
Cosine signal.
160+
Generate cosine signal.
161161
162162
# Parameters:
163163
- `frequency`: [Hz] Frequency of sine wave
@@ -171,7 +171,6 @@ Cosine signal.
171171
# Connectors:
172172
- `output`
173173
"""
174-
175174
@component function Cosine(; name,
176175
frequency,
177176
amplitude = 1,

src/Blocks/utils.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ end
4747
Connector with one output signal of type Real.
4848
4949
# Parameters:
50-
- `nout=1`: Number of inputs
50+
- `nout=1`: Number of outputs
5151
- `u_start=0`: Initial value for `u`
5252
5353
# States:
@@ -61,8 +61,8 @@ Single input single output (SISO) continuous system block.
6161
6262
# Parameters:
6363
64-
- `u`: Initial value for the input
65-
- `y`: Initial value for the output
64+
- `u_start`: Initial value for the input
65+
- `y_start`: Initial value for the output
6666
"""
6767
@mtkmodel SISO begin
6868
@parameters begin

0 commit comments

Comments
 (0)