Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ makedocs(
sitename = "ModelPredictiveControl.jl",
#format = Documenter.LaTeX(platform = "none"),
doctest = true,
plugins = [links,CodeBlocks()],
plugins = [links, CodeBlocks()],
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == "true",
edit_link = "main"
Expand Down
4 changes: 4 additions & 0 deletions docs/src/manual/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

To install the `ModelPredictiveControl` package, run this command in the Julia REPL:

```@codeblocks
line_counter = :continue
```

```julia
using Pkg; Pkg.activate(); Pkg.add("ModelPredictiveControl")
```
Expand Down
4 changes: 4 additions & 0 deletions docs/src/manual/linmpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ the following linear model accurately describes the plant dynamics:
We first need to construct a [`LinModel`](@ref) objet with [`setop!`](@ref) to handle the
operating points:

```@codeblocks
line_counter = :continue
```

```@example 1
using ModelPredictiveControl, ControlSystemsBase
G = [ tf(1.90, [18, 1]) tf(1.90, [18, 1]);
Expand Down
4 changes: 4 additions & 0 deletions docs/src/manual/mtk.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ the last section.

We first construct and instantiate the pendulum model:

```@codeblocks
line_counter = :continue
```

```@example 1
using ModelPredictiveControl, ModelingToolkit
using ModelingToolkit: D_nounits as D, t_nounits as t
Expand Down
4 changes: 4 additions & 0 deletions docs/src/manual/nonlinmpc.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ the end of the pendulum in kg, all bundled in the parameter vector ``\mathbf{p}
constructor assumes by default that the state function `f` is continuous in time, that is,
an ordinary differential equation system (like here):

```@codeblocks
line_counter = :continue
```

```@example man_nonlin
using ModelPredictiveControl
function f(x, u, _ , p)
Expand Down