(Matlab) How to halt program in MEX C file?

Status
Not open for further replies.

davyzhu

Advanced Member level 1
Joined
May 23, 2004
Messages
494
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
oriental
Activity points
4,436
Hi all,

I have to use printf() to debug a MEX C file. After printf(), I want the program to halt.
Is there any function to do it?

Any suggestions will be appreciated!
Best regards,
Davy
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…