b***y 发帖数: 2799 | 1 ☆─────────────────────────────────────☆
dArtagnan (达达尼昂) 于 (Fri Mar 14 12:18:49 2008) 提到:
I am programming some c++ codes to be called within Matlab.
If there is only one c++ file, life is simple. You simple mex the cpp file (
with mexFunction(...) )and call the function within Matlab.
However, if you have several c++/h files, then what's standard procedure to
compile and link the files?
for example, I have:
A.cpp (which contains the mexFunction and includes B.h)
B.h (contains the decl |
|