I am trying to run a LINUX system executable code from MATLAB's cmd window using system command. The executable is created by making a simple c++ code reading and writing an image using OpenCV, but unfortunately I get this error (./MeshStereo is the executable)-
./MeshStereo: symbol lookup error: ./MeshStereo: undefined symbol: ZN2cv6imreadERKNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi
This error comes up on R2016a, but surprisingly not on R2017a. Can somebody please help me with resolving this error?
Thanks so much!