Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
30 Views

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

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
Highlighted
Valued Contributor I
30 Views

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

0 Kudos
Highlighted
Black Belt
30 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