Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Intel Customer Support will be observing the Martin Luther King holiday on Monday, Jan. 17, and will return on Tues. Jan. 18.
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

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

liu__hecong
Beginner
133 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 I
133 Views

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

mecej4
Black Belt
133 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.

Reply