Thread Subject: Warning about atExit for MEX file

Subject: Warning about atExit for MEX file

From: Sebastiaan

Date: 22 Oct, 2009 07:34:04

Message: 1 of 1

Dear users,

I have a custom MEX C-file, which has been used very frequently for more than six months without any problems (let's say, it has an average call of 100 times per day for different inputs). However, today I got a waning which made me curious about the origin:

Warning: An error occurred while running the atExit function for the MEX-file
foo.mexa64.
However, the MEX-file was cleared from memory.

This happened several hours (days) after the MEX file was last run in this Matlab session. I only hit enter in the command window when returning to work, which triggered this warning.

What could be the cause of this warning?

Sebastiaan

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
mex Sebastiaan 22 Oct, 2009 03:34:20
warning Sebastiaan 22 Oct, 2009 03:34:20
atexit Sebastiaan 22 Oct, 2009 03:34:20
rssFeed for this Thread

Contact us at files@mathworks.com