You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/index.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,11 +71,11 @@ but also using incomplete names, e.g., if `G` contains outputs `:y1, :y2, :y3, :
71
71
s1[:y, :] # Prefix matching is used if no exact match is found.
72
72
```
73
73
74
-
See [complicated-feedback example](https://github.com/JuliaControl/RobustAndOptimalControl.jl/blob/master/examples/complicated_feedback.jl) as well as the example under [Connecting systems together](@ref) below for additional examples.
74
+
See the example under [Connecting systems together](@ref) below as well as [complicated-feedback example](https://github.com/JuliaControl/RobustAndOptimalControl.jl/blob/master/examples/complicated_feedback.jl).
75
75
76
76
## Connecting systems together
77
77
Advanced interconnected systems can be created using the function [`connect`](@ref).
78
-
See [complicated-feedback example](https://github.com/JuliaControl/RobustAndOptimalControl.jl/blob/master/examples/complicated_feedback.jl) as well as the following example:
78
+
See the following example, as well as [complicated-feedback example](https://github.com/JuliaControl/RobustAndOptimalControl.jl/blob/master/examples/complicated_feedback.jl).
79
79
80
80
### Example
81
81
The following complicated feedback interconnection
@@ -111,9 +111,10 @@ connections = [
111
111
:uC=>:uC
112
112
:yR=>:yR
113
113
]
114
-
w1 = [:uF] # External inputs
114
+
external_inputs = [:uF]
115
+
external_outputs = [:yP] # Optional, if not provided, all outputs are considered external
115
116
116
-
G =connect([F, R, C, P, addP, addC], connections; w1)
117
+
G =connect([F, R, C, P, addP, addC], connections; external_inputs, external_outputs)
117
118
```
118
119
119
120
If an external input is to be connected to multiple points, use a `splitter` to split up the signal into a set of unique names which are then used in the connections.
0 commit comments