Archived

This topic is now archived and is closed to further replies.

mits

MatLab and C++

Recommended Posts

Anyone has ever tried to link Matlab C++ Library with Visual C++ 6.0? If so, I''d like their help because I have a problem. I have linked the lib files mentioned in help file and I have included the "matlab.hpp" in my project. But compiler shows me : "Cannot open include file: ''strstream.h'': No such file or directory" and this file doesn''t exist in my matlab directory. So what can I do? Please help!!! Thanks

Share this post


Link to post
Share on other sites
strstream.h is..was part of STL but got renamed to sstream.h. Go to your C++ include dir ([vstudiodir]\VC6\include ?) and copy sstream.h to strstream.h and see how that goes. Not sure if there will be any changes to definitions that might break the MatLAB code, but you'll know soon enough.

[edited by - joanusdmentia on April 21, 2004 6:59:38 AM]

Share this post


Link to post
Share on other sites