problem about mcc-Collection of common programming errors


  • Shai
    linux matlab mex matlab-compiler mcc
    When I am trying to make executable files of my .m-files on a Linux machine, some of the the .m-files are working absolutely fine.However, one file which has camera input inside the .m-file is giving me this error: Depfun error: ‘Unexpected Standard exception from MEX file. What() is: ..’ Error using mcc Error executing mcc, return status = 1 (0x1).But when I use the same .m-file on Windows and R2012a it is working properly without any error.I found a bug report here – is this a similar problem

  • Shai
    linux matlab mcc
    I am trying to make executable files of MEX file in linux which uses image acquisition tool inside it. I used mcc -mv filenamebut getting Defun error msg. saying-Depfun error: ‘Unexpected Standard exception from MEX file. What() is: ..’ Error using mcc Error executing mcc, return status = 1 (0x1).Can you please help me out telling how can I make executable files for .m files which uses image acquisition tool in linux.Thanks,

  • Animesh Pandey
    visual-studio-2010 matlab mcc
    I am using Matlab 2010 and VS2010. I have the Matlab Compiler Runtime installed in my system. Whenever if run command mcc -setup I get only one compiler lcc. This compiler gives a lot of errors when used to build a C++ shared library using deployment tool. It builds only C Shared libraries correctly.Can I also connect VC++ compiler with MCC ????How should I do that ??

  • rcs
    matlab compilation matlab-compiler mcc
    I have Matlab 2010a installed on my machine, and MCR 7.6 installed on client’s machine. I try to figure out how can I compile my code for MCR 7.6. Currently mcc comlipes scripts for 7.9 ( which has been installed with Matlab). Does mcc has any arguments for it, or parameters in cfg file? (or anything else)

  • Amro
    matlab matlab-deployment mcc matlab-compiler
    see i have one .m file & .fig file for gui feature associated with that .m file now for making standalone .exe file for that .m filei am using mcc -m -mv jig322.m jig322.figafter doing this i get warning like thisWarning: No matching builtin function available for C:\MATLAB7\toolbox\simulink\simulink\set_param.bii am not getting why this warning comes ?& after this all ma exe becomes ready but it doesn’t work 100% by executing some function it gets crash ? why this all is happening her

  • chappjc
    matlab fopen matlab-compiler mcc
    Setup: Windows 7 Enterprise. Matlab 7.10.0 (R2010a). mcc compiler: Microsoft Visual C++ 2008 Express.What’s happening: My project runs fine when running it through Matlab, but when trying to run the .exe through the command prompt after using mcc to compile, the command prompt generates an error. The mcc command I issue is:mcc -m -v STARTUP1.m -o EXE_REDUCThe error I receive in the command prompt is:??? Error using ==> textscan Invalid file identifier. Use fopen to generate a valid file ide

  • Frédéric Godin
    matlab parallel-processing mcc
    I have problems running a program compiled with MCC that uses parfor. The non-compiled .m version works (no bug). When I run the compiled version, I get “distcomp.remoteparfor” is undefined. I believe I exactly have the error described in the following link.http://www.mathworks.com/support/solutions/en/data/1-PAHWE/index.html?product=CO&solution=1-PAHWEHowever, since MCR is not installed on my machine (got Matlab and MCC), I am wondering what the pathes $APPNAME_mcr/java/jar/toolbox and $MC

Web site is in building