필터 지우기
필터 지우기

Why MCC doesnt work although I have installed the compiler?

조회 수: 6 (최근 30일)
Tina
Tina 2014년 6월 2일
댓글: Image Analyst 2014년 6월 2일
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
Matt J
Matt J 2014년 6월 2일
편집: Matt J 2014년 6월 2일
Is it asking you to run mex -setup ?
Post a copy/paste of the exact error messages.
Tina
Tina 2014년 6월 2일
편집: Tina 2014년 6월 2일
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'.

댓글을 달려면 로그인하십시오.

답변 (1개)

Image Analyst
Image Analyst 2014년 6월 2일
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
Tina
Tina 2014년 6월 2일
편집: Image Analyst 2014년 6월 2일
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 2014년 6월 2일
Call them up and say that you purchased the compiler toolbox but it was not included in your downloads.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by