Skip to content

Commit

Permalink
Merge pull request #123 from JuliaControl/doc_correction
Browse files Browse the repository at this point in the history
Doc correction and simple CI fix
  • Loading branch information
franckgaga authored Nov 11, 2024
2 parents b24332b + 84c7008 commit 3dad792
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sim_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ detailstr(model::SimModel) = ""
@doc raw"""
initstate!(model::SimModel, u, d=[]) -> x
Init `model.x0` with manipulated inputs `u` and meas. dist. `d` steady-state and reset time.
Init `model.x0` with manipulated inputs `u` and meas. dist. `d` steady-state.
The method tries to initialize the model state ``\mathbf{x}`` at steady-state. It removes
the operating points on `u` and `d` and calls [`steadystate!`](@ref):
Expand Down Expand Up @@ -316,7 +316,7 @@ ms. Can be used to implement simple soft real-time simulations, see the example
# Examples
```jldoctest
julia> model = LinModel(tf(2, [0.3, 1]), 0.1);
julia> model = LinModel(tf(2, [0.3, 1]), 0.25);
julia> function sim_realtime!(model)
t_0 = time()
Expand All @@ -330,8 +330,8 @@ julia> function sim_realtime!(model)
julia> sim_realtime!(model)
0.0
0.1
0.2
0.25
0.5
```
"""
function periodsleep(model::SimModel, busywait=false)
Expand Down

0 comments on commit 3dad792

Please sign in to comment.