Info

This question is closed. Reopen it to edit or answer.

Why coder does not create MEX-file in my project folder?

1 view (last 30 days)
Hi, I am trying to create a MEX-file from a file called solver.m in order to optimize the run-time.
From the coder, I select C/C++ static library as output type and the code generation is created successfully.
Then, I try to run solver_mex, but the following error appears: "Undefined function or method 'solver_mex' for input arguments of type 'double'".
I looked into my project folder and solver_MEX-file is not created.
I tried the same by using "MEX Function" and "C/C++ Executable" output types with the same error message. Any idea why?
Thanks.
  1 Comment
Kaustubha Govind
Kaustubha Govind on 20 Jun 2014
Could you try codegen solver.m at the command prompt and paste the resulting log.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!