Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
1 View

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
1 View

That question should be posed

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

0 Kudos
Highlighted
Black Belt
1 View

Posting to the Windows

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