Skip to content

Commit f8de776

Browse files
authored
Merge pull request #373 from JuliaControl/doc_details
doc: minor improvments
2 parents bcb3821 + 8e64988 commit f8de776

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/src/manual/linmpc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ savefig("plot5_LinMPC.svg"); nothing # hide
348348
The closed-loop simulation matches the results of the previous section, as expected. We
349349
can now generate the C code using:
350350

351-
```julia
351+
```@example 1
352352
LinearMPC.codegen(c_mpc_d; dir="codegen", fname="mpc_funcs")
353353
```
354354

@@ -383,7 +383,7 @@ int main(){
383383
}
384384
```
385385

386-
compile with using `gcc *.c -o main.bin` and run it with `./main.bin`. The printed `u` value
386+
compile it using `gcc *.c -o main.bin` and run it with `./main.bin`. The printed `u` value
387387
should be identical to:
388388

389389
```@example 1

0 commit comments

Comments
 (0)