Click here to Skip to main content
15,878,543 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
the "matlab.h" header is not available in extern directory.
how can i access to this header?
tnx

I've created a dll and shared library in Matlab 2008 from my function.
I want to open this function in VS 2005 c++ project.
the problem is working with this library. when i include the header and lib files. then the lnk2019 error : unresolved external symbol is generated.
i've searched and find that 'matlab.hpp' in matlab root must be added.
but in my system this root dose'nt exist.
this is the information of my problem.
tnx
Posted
Updated 19-Oct-10 1:03am
v2
Comments
Sandeep Mewara 19-Oct-10 7:47am    
Update from OP:
I've created a dll and shared library in Matlab 2008 from my function.
I want to open this function in VS 2005 c++ project.
the problem is working with this library. when i include the header and lib files. then the lnk2019 error : unresolved external symbol is generated.
i've searched and find that 'matlab.hpp' in matlab root must be added.
but in my system this root dose'nt exist.
this is the information of my problem.
tnx

You can sometimes include the actual headers in your project, or add them to the include path, which also works. I'm not quite sure what the extern directory is, so you'll probably have to provide more information if the two sites already posted don't give you any tips.
 
Share this answer
 
Comments
hamrez 19-Oct-10 4:29am    
I've created a dll and shared library in Matlab 2008 from my function.
I want to open this function in VS 2005 c++ project.
the problem is working with this library. when i include the header and lib files. then the lnk2019 error : unresolved external symbol is generated.
i've searched and find that 'matlab.hpp' in matlab root must be added.
but in my system this root dose'nt exist.
this is the information of my problem.
tnx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900