Category : matlab

I’m having issues linking the mat.h file from Matlab to my c++ file. My portion where I’m including the directory for the .h file within my Makefile is here: set(MAT_ROOTDIR "/Applications/MATLAB_R2021a.app/extern/include") target_include_directories(onnxruntime_test PRIVATE ${MAT_ROOTDIR}) I simply #include <mat.h> within my cpp file, but I get this error: Undefined symbols for architecture x86_64: "_matClose_800", referenced from: ..

Read more