We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b32ec8 commit 8e64988Copy full SHA for 8e64988
1 file changed
docs/src/manual/linmpc.md
@@ -348,8 +348,8 @@ 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
352
-LinearMPC.codegen(c_mpc_d; dir="codegen", fname="mpc_funcs");
+```@example 1
+LinearMPC.codegen(c_mpc_d; dir="codegen", fname="mpc_funcs")
353
```
354
355
The three C functions to call at each control period are declared in the generated
0 commit comments