Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28808 Discussions

call matlab(2016a) function within fortran (vs2017+ivf2018)

liu__hecong
Beginner
534 Views

Dear all:

When I call MATLAB Function(engevalstring) from Fortran(vs2017+ivf2018), it stated that"Access conflict occurs when an exception is thrown at 0x00000001800010CE (libeng. DLL) (located in console2.exe) : 0xC0000005: reads location 0x000000003DDC1F50."  And how can I solve it?  Please.

 

0 Kudos
2 Replies
Juergen_R_R
Valued Contributor II
534 Views

That question should be posed at the Windows forum, not the Linux/MACOS forum.

0 Kudos
mecej4
Honored Contributor III
534 Views

Posting to the Windows Fortran forum is not going to help you much. What you seem to be doing is to call the Matlab engine from your Fortran code, with libeng.dll acting as the go-between; within Matlab, you could be doing anything -- as simple as displaying "Hello" to something very complex, such as calculating next week's weather forecast. If something can go wrong in any part of that complex chain, it may (Murphy thinks it will), and cause the whole thing to crash. Nobody can tell you how to find and fix the error in a few sentences.

0 Kudos
Reply