Debug Fortran Source MEX-Files error
Show older comments
Dear all:
I use MATLAB 2013a,VS2010 and Intel.Visual.Fortran.Composer.XE.2011 to debug Fortran Source MEX-Files based on win7 64bit,and the Call Stack shows the follow informations:
KernelBase.dll!000007fefd193c62()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
mcr.dll!00000000749c4848()
libut.dll!00000000744925ff()
libmex.dll!0000000004e214df()
msvcr100.dll!00000000713a12e3()
ntdll.dll!000000007729905d()
ntdll.dll!0000000077288c0f()
ntdll.dll!00000000772bd948()
msvcr100.dll!000000007136c01d()
> readdata.mexw64!COPYREAL3DMATTOMATLAB(INTEGER(8) PTR, REAL(8) VALUE, INTEGER(8) N1, INTEGER(8) N2, INTEGER(8) N3) Line 165 Fortran
readdata.mexw64!MEXFUNCTION(INTEGER(8) NLHS, INTEGER(8) PLHS, INTEGER(8) NRHS, INTEGER(8) PRHS) Line 114 Fortran
libmex.dll!0000000004e1f720()
libmex.dll!0000000004e1e202()
libmex.dll!0000000004e1f2b4()
m_dispatcher.dll!0000000074e8c64f()
m_dispatcher.dll!0000000074e8ced2()
m_interpreter.dll!00000000046cbc7b()
m_interpreter.dll!00000000046bb091()
m_interpreter.dll!00000000046a008f()
m_interpreter.dll!00000000046b65a4()
m_interpreter.dll!00000000046ac3b0()
m_interpreter.dll!00000000046a8fe4()
m_interpreter.dll!00000000046c021f()
m_interpreter.dll!00000000046c0370()
m_interpreter.dll!000000000469f1dd()
m_interpreter.dll!00000000046a0bd0()
m_interpreter.dll!000000000468cf79()
m_dispatcher.dll!0000000074e8c64f()
m_dispatcher.dll!0000000074e8ced2()
m_interpreter.dll!00000000046cbc7b()
m_interpreter.dll!00000000046bb091()
m_interpreter.dll!00000000046a008f()
m_interpreter.dll!00000000046b65a4()
m_interpreter.dll!00000000046ac3b0()
m_interpreter.dll!00000000046a8fe4()
m_interpreter.dll!00000000046c021f()
m_interpreter.dll!00000000046c0370()
m_interpreter.dll!000000000469f1dd()
m_interpreter.dll!00000000046a0bd0()
m_interpreter.dll!000000000468cf79()
m_dispatcher.dll!0000000074e8c64f()
m_dispatcher.dll!0000000074e8ced2()
m_interpreter.dll!00000000046cbc7b()
m_interpreter.dll!00000000046bb091()
m_interpreter.dll!00000000046a008f()
m_interpreter.dll!00000000046b65a4()
m_interpreter.dll!00000000046ac3b0()
m_interpreter.dll!000000000469f112()
m_interpreter.dll!00000000046a0bd0()
m_interpreter.dll!000000000468cf79()
m_dispatcher.dll!0000000074e8c64f()
m_dispatcher.dll!0000000074e8ced2()
m_interpreter.dll!00000000046a6d48()
m_interpreter.dll!000000000461f9f7()
m_interpreter.dll!00000000046aa877()
m_interpreter.dll!00000000046c021f()
m_interpreter.dll!00000000046c0370()
m_interpreter.dll!000000000469f1dd()
m_interpreter.dll!00000000046a0bd0()
m_interpreter.dll!000000000468cf79()
m_dispatcher.dll!0000000074e8c64f()
m_dispatcher.dll!0000000074e8ced2()
m_interpreter.dll!000000000460e70e()
m_interpreter.dll!0000000004716495()
m_interpreter.dll!000000000471ca45()
m_interpreter.dll!000000000471ca12()
m_interpreter.dll!000000000471c9d7()
m_interpreter.dll!000000000470ba0e()
m_interpreter.dll!000000000460be89()
m_interpreter.dll!000000000460bdcc()
m_interpreter.dll!000000000460bd81()
libmwbridge.dll!0000000079fbbecd()
libmwbridge.dll!0000000079fbd01b()
mcr.dll!000000007499daa4()
mcr.dll!0000000074982220()
mcr.dll!0000000074982280()
uiw.dll!0000000005d5f9d6()
uiw.dll!0000000005d60095()
user32.dll!0000000076f38802()
user32.dll!0000000076f1f5e7()
user32.dll!0000000076f24869()
ntdll.dll!00000000772bd8f5()
user32.dll!0000000076f290ca()
user32.dll!0000000076f250de()
user32.dll!0000000076f23a47()
uiw.dll!0000000005d39a1b()
uiw.dll!0000000005d61532()
libmwservices.dll!0000000004368930()
libmwservices.dll!00000000043692f5()
libmwservices.dll!000000000436a100()
libmwservices.dll!00000000043728d2()
mcr.dll!000000007498329d()
mcr.dll!0000000074983562()
mcr.dll!0000000074976915()
mcr.dll!0000000074979d52()
MATLAB.exe!0000000140005591()
MATLAB.exe!0000000140005c3a()
MATLAB.exe!0000000140006103()
kernel32.dll!0000000077025a4d()
ntdll.dll!000000007729b831()
Thanks very much!
2 Comments
James Tursa
on 7 Jan 2016
We need to see the source code, and a description of what it is supposed to do.
Luo Tian
on 8 Jan 2016
Edited: Walter Roberson
on 8 Jan 2016
Accepted Answer
More Answers (0)
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!