Open JOlucak opened 5 months ago
Potential check to verify the correct functionality in the CasADi installation:
which('sparsity_cast')
However, the casadi.DM
class needs to be loaded before the result is correct since sparsity_cast
is a class method.
The script was updated to include a check for sparsity_cast
see commit
One small issue remains: In my case when adding CasADi to the matlab path and running the install script again, CasADi does not work immediately. It seems like Matlab always needs a restart to be able to correctly call the toolbox. This means that users might have to restart Matlab after adding CasADi. )
An installation file would be beneficial similar to other toolboxes. The installations scirpt bascially sets the correct paths and check e.g. that solver(s) are available. A first version is attached as text file (actually a .m-file). install_casos.txt