Issues with matlab-Fortran interface
Hi,
I’m having issues with some Fortran code we have that uses matlab’s DLLs to open a .mat file. We are using Matlab R2023b. Our Fortran code is built for 64 bit windows.
Our code calls matOpen passing a filename and permission. I’ve looked in our IDE debugger and both of these parameters are valid values. The result is set to a mwpointer variable, which is appropriately sized for 64 bit.
Our code calls into the matlab DLLs that we got from r2023b/bin/win64. The DLLs in turn call into C:/Windows/System32/vcruntime140.dll, which promptly crash on trying to access invalid memory locations. Our vcruntime140.dll version is 14.31.31103.0.
I noticed though that the matlab binary folder mentioned above also holds a vcruntime140.dll file, and it is at version 14.29.30135.0. Do the r2023b matlab-fortran interface DLLs require this specific version of vcruntime140.dll?Hi,
I’m having issues with some Fortran code we have that uses matlab’s DLLs to open a .mat file. We are using Matlab R2023b. Our Fortran code is built for 64 bit windows.
Our code calls matOpen passing a filename and permission. I’ve looked in our IDE debugger and both of these parameters are valid values. The result is set to a mwpointer variable, which is appropriately sized for 64 bit.
Our code calls into the matlab DLLs that we got from r2023b/bin/win64. The DLLs in turn call into C:/Windows/System32/vcruntime140.dll, which promptly crash on trying to access invalid memory locations. Our vcruntime140.dll version is 14.31.31103.0.
I noticed though that the matlab binary folder mentioned above also holds a vcruntime140.dll file, and it is at version 14.29.30135.0. Do the r2023b matlab-fortran interface DLLs require this specific version of vcruntime140.dll? Hi,
I’m having issues with some Fortran code we have that uses matlab’s DLLs to open a .mat file. We are using Matlab R2023b. Our Fortran code is built for 64 bit windows.
Our code calls matOpen passing a filename and permission. I’ve looked in our IDE debugger and both of these parameters are valid values. The result is set to a mwpointer variable, which is appropriately sized for 64 bit.
Our code calls into the matlab DLLs that we got from r2023b/bin/win64. The DLLs in turn call into C:/Windows/System32/vcruntime140.dll, which promptly crash on trying to access invalid memory locations. Our vcruntime140.dll version is 14.31.31103.0.
I noticed though that the matlab binary folder mentioned above also holds a vcruntime140.dll file, and it is at version 14.29.30135.0. Do the r2023b matlab-fortran interface DLLs require this specific version of vcruntime140.dll? fortran, r2023b MATLAB Answers — New Questions