mcc -mv in linux machine R2013a to make executables

Hi,
When i am trying to make executable files of my .m file in linux machine some of the the .m files are working absolutely fine.
Where ever one file which has camera input inside the .m file is giving me error saying-
"Depfun error: 'Unexpected Standard exception from MEX file.
What() is:
..'
Error using mcc
Error executing mcc, return status = 1 (0x1)."
But when I use same .m file in window and R2012a it is working properly without any error.
I found a bug report here http://www.mathworks.com/support/bugreports/951485 is this a similar problem?
How do I solve it?

 Accepted Answer

Yes. Follow the instructions in the bug report.

3 Comments

Hi Walter Roberson,
Thanks for your reply. But the bug report solution is little different as it only describ solution for 1.importdata function and 2. Parallel Computing Toolbox functions
And I am not doing anyone of it. I am just trying to get some image from the came its a simple MEX file as follows-
vid1 = videoinput('linuxvideo',2);
set(vid1,'FramesPerTrigger',1);
start(vid1);
imageData1=getdata(vid1,1);
imageData=ycbcr2rgb(imageData1);
imagesc(imageData(:,:,:,1));
stop(vid1);
The report says, "This error occurs only on certain Linux machines, and only when trying to deploy certain MATLAB code, such as Parallel Computing Toolbox functions or the importdata function. " "such as" means there may be other affected functions as well.
If you try the patch and it does not work, I suggest contacting technical support.
Thanks for your reply. I emailed for technical support and they replied saying it was a bug and told me to replace the 'depfun.opts' file. After replacing it works fine.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!