MATLAB Answers

Why MCC doesnt work although I have the MATLAB Compiler license?

4 views (last 30 days)
Valmir Sadiku
Valmir Sadiku on 1 Oct 2014
Commented: Valmir Sadiku on 2 Oct 2014
Hello guys,
I am trying to compile a simple m-file (just adds two numbers), but Matlab says:
Undefined function 'mcc' for input arguments of type 'char'.
Also whats anyway confusing for me is following behavior:
>> help mcc
mcc not found.
There is a compiler (Microsoft Windows SDK 7.1) installed - license of Matlab Compiler is also there. Could you help me?
Thank you!
goldeneyes

  0 Comments

Sign in to comment.

Answers (1)

Andreas Goser
Andreas Goser on 2 Oct 2014
You may have the product MATLAB Compiler licensed, but not installed. This happens in larger organizations quite a bit when the whole organization can access concurrent licenses, but the IT department does not install all products for all users.

  3 Comments

Valmir Sadiku
Valmir Sadiku on 2 Oct 2014
I checked and reinstalled again, but they still do not work.
>>ver
MATLAB Version 8.3 (R2014a)
Simulink Version 8.3 (R2014a)
Aerospace Blockset Version 3.13 (R2014a)
Aerospace Toolbox Version 2.13 (R2014a)
Communications System Toolbox Version 5.6 (R2014a)
Computer Vision System Toolbox Version 6.0 (R2014a)
Control System Toolbox Version 9.7 (R2014a)
DSP System Toolbox Version 8.6 (R2014a)
Embedded Coder Version 6.6 (R2014a)
Fuzzy Logic Toolbox Version 2.2.19 (R2014a)
Image Acquisition Toolbox Version 4.7 (R2014a)
Image Processing Toolbox Version 9.0 (R2014a)
Instrument Control Toolbox Version 3.5 (R2014a)
MATLAB Coder Version 2.6 (R2014a)
Neural Network Toolbox Version 8.2 (R2014a)
Optimization Toolbox Version 7.0 (R2014a)
Partial Differential Equation Toolbox Version 1.4 (R2014a)
RF Toolbox Version 2.14 (R2014a)
Real-Time Windows Target Version 4.4 (R2014a)
Signal Processing Toolbox Version 6.21 (R2014a)
SimMechanics Version 4.4 (R2014a)
SimPowerSystems Version 6.1 (R2014a)
Simscape Version 3.11 (R2014a)
Simulink 3D Animation Version 7.1 (R2014a)
Simulink Coder Version 8.6 (R2014a)
Simulink Control Design Version 4.0 (R2014a)
Simulink Design Optimization Version 2.5 (R2014a)
Stateflow Version 8.3 (R2014a)
Statistics Toolbox Version 9.0 (R2014a)
Symbolic Math Toolbox Version 6.0 (R2014a)
Can I check anything else?
Friedrich
Friedrich on 2 Oct 2014
It does not work because the MATLAB Compiler Toolbox is not installed (like you can see in the ver output). Check with your IT to get a MATLAB Compiler installation or contact MathWorks Install support.

Sign in to comment.

Sign in to answer this question.