Skip to content

Parameterising CasADi functions after generating C code #3544

Answered by jgillis
bulatkhusainov asked this question in Q&A
Discussion options

You must be logged in to vote

In general, this may be your answer:

/** \brief Construct matrix with a given sparsity and a file with nonzeros */
    MX(const Sparsity& sp, const std::string& fname);

In particular, about the external strategy.. External does work for Windows (with that exact syntax), and is supported for codegen.
Maybe some dependency of your dll is not found in the PATH? Try dependencywalker

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bulatkhusainov
Comment options

@jgillis
Comment options

@bulatkhusainov
Comment options

Answer selected by bulatkhusainov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants