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
See [complicated-feedback example](https://github.com/JuliaControl/RobustAndOptimalControl.jl/blob/master/examples/complicated_feedback.jl)
58
-
-[`named_ss`](@ref)
59
57
60
-
Named systems can be indexed with their names, e.g.,
61
-
```julia
62
-
G[:y2, :u4]
58
+
Named systems can be created with [`named_ss`](@ref) and indexed with their names, e.g.,
59
+
```@repl
60
+
G = ssrand(2,2,2);
61
+
s1 = named_ss(G, x = :x, u = [:u_temp, :u_current]) # Create a named system
62
+
s1[:y1, :u_temp] # Access inputs and outputs using their names
63
63
```
64
64
but also using incomplete names, e.g., if `G` contains outputs `:y1, :y2, :y3, :z1, :z2`, the following retrieves the three outputs that has the prefix `:y`
65
-
```julia
66
-
G[:y, :] # Prefix matching is used if no exact match is found.
65
+
```@repl
66
+
s1[:y, :] # Prefix matching is used if no exact match is found.
67
67
```
68
68
69
+
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.
70
+
69
71
## Connecting systems together
70
-
See [complicated-feedback example](https://github.com/JuliaControl/RobustAndOptimalControl.jl/blob/master/examples/complicated_feedback.jl)
71
-
-[`connect`](@ref)
72
+
Advanced interconnected systems can be created using the function [`connect`](@ref).
73
+
See [complicated-feedback example](https://github.com/JuliaControl/RobustAndOptimalControl.jl/blob/master/examples/complicated_feedback.jl) as well as the following example:
72
74
73
75
### Example
74
76
The following complicated feedback interconnection
0 commit comments