CARA_Analysis_Tools icon indicating copy to clipboard operation
CARA_Analysis_Tools copied to clipboard

LD_LIBRARY_PATH unnecessary for Linux Matlab ver 9.10+

Open shawsa opened this issue 4 months ago • 0 comments

Added linker flag to the mex compiler command for SDMC so that the mex file encodes the relative location of the Linux library. The algorithm can now run without setting the LD_LIBRARY_PATH environment variable.

I have only made this change for the case of Linux and Matlab ver 9.10+. I can not test the other two cases so I will leave it up to others to make similar changes. For the other Linux case, I expect that the same linker flag will work. I am less sure about the Windows case. If someone updates the other two cases in the future then it would probably be best to update the error message as well.

shawsa avatar Oct 31 '25 16:10 shawsa