error when trying to turn project into a mex function

error LNK2001: unresolved external symbol mexPrintf. Not sure how to fix this...

2 Comments

That means you are not linking in all of the MATLAB API libraries. How are you compiling your code?
Figured it out, was definitely an error linking the libraries. Did not have the full pathname in the external dependency files.

Answers (0)

This question is closed.

Tags

Asked:

on 19 Jun 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!