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
1
vote
0 answers

Why my m-file compiled with mcc does not run on my laptop (with Matlab) and on my pc (with MCR 8.2)?

I compiled an M-file on my laptop, obtaining an EXE file (lets say myexe.exe). I have MATLAB 2011b installed. If I double click on myexe.exe, or if I run it from MATLAB command prompt with !myexe.exe, a window pops up saying: Could not find version…
Millemila
  • 1,612
  • 4
  • 24
  • 45
1
vote
1 answer

File addressing of code for MATLAB compiler

In my codes, there are some functions like imshow or fopen files that need addressing. When I use my program in MATLAB I use pwd like imshow([pwd '/image.jpg']) for addressing and the program run and work correctly, but when I compiled my program…
Eghbal
  • 3,892
  • 13
  • 51
  • 112
1
vote
1 answer

How to compile by MCC when the source has levels of folders?

My Matlab source code (.m files) are stored in a hierarchical structure, which has a set of subfolders. I tried to compile them by the following commands in a CentOS server: mcc -v -m a.m a_call_b.m -I ./Funs/*.m But I have a lot of subfolders that…
Zhi Lu
  • 527
  • 5
  • 22
1
vote
1 answer

MATLAB Compiler getting stuck during build process

I built a GUI in MATLAB that makes use of the Instrument Control Toolbox, among other things. I tried to compile this GUI with deploytool but it's getting stuck during the compile: ant:
Dang Khoa
  • 5,693
  • 8
  • 51
  • 80
1
vote
0 answers

Why do I get an error with fopen when using matlab's 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…
Oliver T
  • 43
  • 6
1
vote
1 answer

standalone program for MEX file in linux

I am trying to make executable files of MEX file in linux which uses image acquisition tool inside it. I used mcc -mv filename but getting Defun error msg. saying- Depfun error: 'Unexpected Standard exception from MEX file. What() is: ..' Error…
MMH
  • 1,676
  • 5
  • 26
  • 43
1
vote
1 answer

MCR libmwi18n.so file missing

I've just installed the Matlab MCR, and I tried to run a piece of code: ./run_test.sh /usr/local/MATLAB/MATLAB_Compiler_Runtime/ And I get this error in return: LD_LIBRARY_PATH is…
SortingHat
  • 727
  • 3
  • 15
  • 30
0
votes
0 answers

Microsoft Connected Cache cannot connect to and perform TLS handshake with iothub

We are setting up an MCC server, we have followed the instructions exactly from the deployment guide and all three docker images show as started: root@or-ms-node1:~# iotedge list NAME STATUS DESCRIPTION Config MCC …
user2833447
  • 45
  • 2
  • 5
0
votes
1 answer

why this warning comes in making stand-alone .exe from my .m & .fig file ?

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 file i am using mcc -m -mv jig322.m jig322.fig after doing this i get warning like this Warning: No matching builtin…
Jeegar Patel
  • 26,264
  • 51
  • 149
  • 222
0
votes
0 answers

How to use a shared/dynamically linked library in Fortran?

I have a neural network trained in Matlab. Now, I want to use this network in Fortran. So, I followed the instructions given here: https://www.mathworks.com/help/deeplearning/ref/network.genfunction.html: %% First, train a static network and…
0
votes
0 answers

5G Mobile Handset MCC & MNC

Q.1 I want to check the list of MCC supported by a 5G Handset without SIM card, Does Handset have Topple list of MCC/MNC? Or Mobile Handset is MCC/MNC agnostic means can support all MCC/MNC available across the world? Q.2 What application/software…
Rishi
  • 1
0
votes
1 answer

Issue in implementing capacitive touch in PIC18F26K40 microcontroller using mTouch library

i currently working on PIC microcontroller. I have PIC18F26K40. I want to use CVD (Capacitive Voltage Divider) technique to implement capacitive touch button. I am using mTouch library of MCC (Microchip Code Configurator) library for that. I am…
0
votes
1 answer

PIC SPI Beginner Problems (XC8 MCC)

I've recently got I2C working in no time with some MCC generated functions which are well documented in the .h file, however SPI gives me nothing and is causing me frustraions, not helped by the fact I'm new to these serial protocols. I'm simply…
Dan Twining
  • 640
  • 4
  • 17
  • 30
0
votes
1 answer

I2C communication between PIC32 and LCD

I am trying to communicate with LCD2041 using I2C . I am using PIC32MM curiosity board . I wrote the following code on MP lab code configurator , but the status for I2c communications is stuck on I2C2_MESSAGE_PENDING . I need help on what I might…
g ghimire
  • 1
  • 3
0
votes
1 answer

Multiple SPI configurations on PIC18

I am using the PIC18f46k42 microcontroller, XC8 2.3, with MPLABX/ MCC. My goal is to use the single SPI hardware peripheral to interface with multiple devices using various GPIO pins as chip selects. I have an LCD and an SD card that both need to…
Chris F
  • 101
  • 1
  • 1
  • 6