Why MCC doesnt work although I have installed the compiler?

6 vues (au cours des 30 derniers jours)
Tina
Tina le 2 Juin 2014
Commenté : Image Analyst le 2 Juin 2014
Hi everyone,
I have installed the MATLAB Compiler in order to use the mmc command, but after installing the compiler I still get the error as I don't have the compiler on my computer. I really don't understand what the problem is.
Any help is appreciated! Thanks!
  2 commentaires
Matt J
Matt J le 2 Juin 2014
Modifié(e) : Matt J le 2 Juin 2014
Is it asking you to run mex -setup ?
Post a copy/paste of the exact error messages.
Tina
Tina le 2 Juin 2014
Modifié(e) : Tina le 2 Juin 2014
This is what I get, which is saying the mcc function is undefined!
>> mcc -m hello_world.m
Undefined function 'mcc' for input arguments of type 'char'.

Connectez-vous pour commenter.

Réponses (1)

Image Analyst
Image Analyst le 2 Juin 2014
Copy the results of the "ver" command back here. You can delete your license number though. We need to see that you do indeed have the compiler installed - you'd be surprised how many people say they've installed something but either they didn't or something got corrupted somehow with their installation.
Also, try this and see if it says ans=1:
% Check that user has the MATLAB Compiler installed.
hasCompilerToolbox = license('test', 'compiler')
  2 commentaires
Tina
Tina le 2 Juin 2014
Modifié(e) : Image Analyst le 2 Juin 2014
yeah i cannot see it there, what should I do? cause all of the steps of the installation went ok and it should be there!
>> ver
----------------------------------------------------------------------------------------------------
MATLAB Version: 8.2.0.701 (R2013b)
MATLAB License Number: ••••••
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
MATLAB Version 8.2 (R2013b)
Bioinformatics Toolbox Version 4.3.1 (R2013b)
Control System Toolbox Version 9.6 (R2013b)
Curve Fitting Toolbox Version 3.4 (R2013b)
DSP System Toolbox Version 8.5 (R2013b)
Data Acquisition Toolbox Version 3.4 (R2013b)
Image Processing Toolbox Version 8.3 (R2013b)
Instrument Control Toolbox Version 3.4 (R2013b)
Optimization Toolbox Version 6.4 (R2013b)
Parallel Computing Toolbox Version 6.3 (R2013b)
Signal Processing Toolbox Version 6.20 (R2013b)
SimMechanics Version 4.3 (R2013b)
Simscape Version 3.10 (R2013b)
Simulink Control Design Version 3.8 (R2013b)
Statistics Toolbox Version 8.3 (R2013b)
Symbolic Math Toolbox Version 5.11 (R2013b)
Image Analyst
Image Analyst le 2 Juin 2014
Call them up and say that you purchased the compiler toolbox but it was not included in your downloads.

Connectez-vous pour commenter.

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by