Hi,
As mentioned in the following answer, acados path is already exported.
However, I notice that in the Python example mentioned there, the variable ACADOS_SOURCE_DIR is used to export the path, as in export ACADOS_SOURCE_DIR="/Users/.../acados". In the MATLAB example, the variable ACADOS_INSTALL_DIR is used. Nevertheless, I add the following in my .zshrc file: export ACADOS_INSTALL_DIR="/Users/.../acados".
Another thing is that after I execute source env.sh in the terminal, I get the following:
ACADOS_INSTALL_DIR=/Users/.../acados/examples/acados_matlab_octave/getting_started/../../..
This is not the actual acados installation path, but the example path. I am not certain if this is the desired behavior.
Also, the following is given when executing source env.sh:
LD_LIBRARY_PATH=:/Users/.../acados/examples/acados_matlab_octave/getting_started/../../../lib:./build:/Users/.../acados/examples/acados_matlab_octave/getting_started/../../../interfaces/acados_template/tera_renderer/t_renderer/target/release:/Users/.../acados/examples/acados_matlab_octave/getting_started/../../../lib:./build:/Users/.../acados/examples/acados_matlab_octave/getting_started/../../../interfaces/acados_template/tera_renderer/t_renderer/target/release
As can be seen, the variable LD_LIBRARY_PATH is used, instead of DYLD_LIBRARY_PATH. Is this also as expected?