We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bcb3821 + 8e64988 commit f8de776Copy full SHA for f8de776
1 file changed
docs/src/manual/linmpc.md
@@ -348,7 +348,7 @@ savefig("plot5_LinMPC.svg"); nothing # hide
348
The closed-loop simulation matches the results of the previous section, as expected. We
349
can now generate the C code using:
350
351
-```julia
+```@example 1
352
LinearMPC.codegen(c_mpc_d; dir="codegen", fname="mpc_funcs")
353
```
354
@@ -383,7 +383,7 @@ int main(){
383
}
384
385
386
-compile with using `gcc *.c -o main.bin` and run it with `./main.bin`. The printed `u` value
+compile it using `gcc *.c -o main.bin` and run it with `./main.bin`. The printed `u` value
387
should be identical to:
388
389
```@example 1
0 commit comments