help for error in MEX file

3 views (last 30 days)
ikhlas
ikhlas on 28 Jul 2013
This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.
Abnormal termination: Segmentation violation
Register State (from fault): EAX = 00000000 EBX = 00000000 ECX = 259aeaf0 EDX = 2e760040 ESP = 00b980e8 EBP = 00b98108 ESI = 0a0e9f28 EDI = 00000000
EIP = 07897be5 EFL = 00210202
CS = 00000023 DS = 0000002b SS = 0000002b
ES = 0000002b FS = 00000053 GS = 0000002b
help me plese
  1 Comment
dpb
dpb on 28 Jul 2013
No can do w/ no input info other than the SEGVIO
Generally is a problem of passing a null pointer or similar problem in the setup of the mex interface.
Fix the tags to be appropriate and don't whine...

Sign in to comment.

Answers (1)

Jan
Jan on 28 Jul 2013
It is absolutely impossible to help you to find the bug without seeing the code. Please notice that we do not use crystal balls. Finding the relevant part of the code and posting it is a good idea. Using a debugger to check the code is slightly better.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!