Questions tagged [mcc]

mcc stand for MATLAB® Compiler™. The command line utility that can compile MATLAB code into stand-alone application or C/C++ library.

Official product site: http://www.mathworks.com/help/toolbox/compiler/

92 questions
16
votes
6 answers

How do I change the Mobile Country Code (MCC) in the Android Emulator?

My Android application needs to react differently to different Mobile Country Codes. It seems like it is hardcoded to mcc310 (US). I can read this value from TelephonyManager.getSimCountryIso() or by using a resource folder like…
neu242
  • 15,796
  • 20
  • 79
  • 114
10
votes
3 answers

Matlab deployment: add files to source control?

I've created a deployment project which works rather well and now I want to add it to source control repository for others to use. The main problem I'm facing is that the .prj file which deploytool creates contains absolute paths which will not work…
shoosh
  • 76,898
  • 55
  • 205
  • 325
8
votes
1 answer

Deployed Matlab application using significantly more memory than Matlab scripts

I was testing a stand-alone application we developed in Matlab when I noticed that its memory usage, according to Windows Task Manager, was peaking several times above 16gb. I decided to run Matlab's profiler with profile -memory on on the scripts…
ackrause
  • 442
  • 5
  • 11
6
votes
1 answer

Matlab mcc Warning "Adding path ... to Compiler path instance"

I'm compiling my matlab .m functions (and mex files) to run as a standalone program on a Linux server. In the end, I manage to compile all files and even run them, although in the process I do get some warnings: Warning: Adding path "input_folder1"…
Dennis
  • 149
  • 4
6
votes
2 answers

Deploytool for MATLAB R2013b doesn't work, what has changed?

For years I've been using the integrated deploytool to create easily distributable *.exe files for my colleagues. I installed R2013b a couple of days ago and I can't use the deploytool anymore. The log file when trying to package gives…
5
votes
2 answers

shared lib libmwi18n.so not find

I saw a similar question here After reading the answers and comment in the above link I located the 'libmwi18n.so' file and set the LD_LIBRRY_PATH, but I'm still getting this error: 'error while loading shared libraries: libmwi18n.so: cannot open…
MMH
  • 1,676
  • 5
  • 26
  • 43
4
votes
2 answers

How to call a MATLAB code from Objective C

I'm planing to write my algorithmic codes in Matlab. And I need to convert .m files into a format where Objective-C can access. When I try mcc, the following error appeared. The -t switch is no longer supported; the Compiler no longer generates…
dinesh707
  • 12,106
  • 22
  • 84
  • 134
4
votes
6 answers

How to extract a single function from a source file

I'm working on a small academic research about extremely long and complicated functions in the Linux kernel. I'm trying to figure out if there is a good reason to write 600 or 800 lines-long functions. For that purpose, I would like to find a tool…
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
3
votes
3 answers

Matlab Compiler MCC errors on imports for Java classes from dynamic Java classpath

How can I get mcc to recognize imports from user-provided Java libraries, or to simply ignore unresolvable imports? I have a Matlab codebase that I'm building with the Matlab Compiler, but the build is breaking because mcc is erroring out when it…
Andrew Janke
  • 23,508
  • 5
  • 56
  • 85
3
votes
0 answers

Xcode link matlab dylib: No Info.plist file

#include #include "mextest.h" using namespace std; int run_main(int argc, char** argv) { mclInitializeApplication(NULL,0); mextestInitialize(); mwArray a(1,1,mxDOUBLE_CLASS); mwArray b(1,1,mxDOUBLE_CLASS); a(1,1) =…
yi-ji
  • 427
  • 5
  • 8
3
votes
3 answers

How compile training neural network as stand-alone app in MATLAB?

I want to compile my MATLAB application that uses neural networks to a stand-alone application, but as you know MATLAB can't compile training neural network as stand-alone and can only compile already trained neural networks. The core of my…
Eghbal
  • 3,892
  • 13
  • 51
  • 112
3
votes
1 answer

Is it possible to create a 32bit standalone executable on a 64bit machine?

I'm creating a standalone executable from MATLAB .m file using mcc. My machine is a 64bit machine and the target machine is 32bit machine, is it possible to create such an application (and to be able to run it on the target machine of course)?
Muhammad
  • 89
  • 1
  • 5
3
votes
2 answers

iPhone: Roaming MCC

Is there a possibility to retrieve the "actual" Mobile Country Code of the iPhone? If I use the conventional method over the CTCarrier I only receive the MCC of the SIM-Card, but I want the Mobile Country Code of the Roaming Provider.
ElPatzo
  • 545
  • 1
  • 6
  • 25
3
votes
2 answers

MATLAB compiler processes mcc.enc from unrelated toolboxes

I'm using mcc to compile my MATLAB project. The machine I'm using has many MATLAB toolboxes installed on it, but my code only requires a few (such as distcomp and images). However, whenever I run mcc, it ends up "processing" the mcc.enc files for…
knowah
  • 110
  • 4
  • 11
3
votes
5 answers

Can this kernel function be more readable? (Ideas needed for an academic research!)

Following my previous question regarding the rationale behind extremely long functions, I would like to present a specific question regarding a piece of code I am studying for my research. It's a function from the Linux Kernel which is quite long…
Adam Matan
  • 128,757
  • 147
  • 397
  • 562
1
2 3 4 5 6 7