problems while creating.exe file in matlab

I want to create executable file for matlab files which can be run by system which dont have matlab software. In command prompt i typed deplotool from which i selected matlab complier i attached the main function and associated files. I got this error
ant:
<ant>
<mkdir dir="C:\Users\Deepa\Documents\MATLAB\Recognition\for_redistribution" />
<mkdir dir="C:\Users\Deepa\Documents\MATLAB\Recognition\for_testing" />
</ant>
mcc -C -o Recognition -W WinMain:Recognition -T link:exe -d C:\Users\Deepa\Documents\MATLAB\Recognition\for_testing -v C:\Users\Deepa\Documents\MATLAB\Recognition.m -a C:\Users\Deepa\Documents\MATLAB\Number_Plate_Extraction\create_templates.m
Test checkout of feature 'Compiler' failed.
mcc failed
Please provide your input for the successful creation of .exe file.

4 Comments

As far as your MATLAB session can tell, you are not licensed to use MATLAB Compiler at this time. Either it thinks that you have no license at all or else it thinks that all of the licenses are checked out. What kind of license do you have?
I checked with ver command in matlab command prompt and got the following answer. Needs your kind suggestion
MATLAB Version: 8.3.0.532 (R2014a)
MATLAB License Number: XXXXXXXXX
Operating System: Microsoft Windows 10 Home Version 10.0 (Build 16299)
Java Version: Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
----------------------------------------------------------------------------------------------------
MATLAB Version 8.3 (R2014a)
Simulink Version 8.3 (R2014a)
Aerospace Blockset Version 3.13 (R2014a)
Aerospace Toolbox Version 2.13 (R2014a)
Bioinformatics Toolbox Version 4.4 (R2014a)
Communications System Toolbox Version 5.6 (R2014a)
Computer Vision System Toolbox Version 6.0 (R2014a)
Control System Toolbox Version 9.7 (R2014a)
Curve Fitting Toolbox Version 3.4.1 (R2014a)
DO Qualification Kit Version 2.3 (R2014a)
DSP System Toolbox Version 8.6 (R2014a)
Data Acquisition Toolbox Version 3.5 (R2014a)
Database Toolbox Version 5.1 (R2014a)
Datafeed Toolbox Version 4.7 (R2014a)
Econometrics Toolbox Version 3.0 (R2014a)
Embedded Coder Version 6.6 (R2014a)
Filter Design HDL Coder Version 2.9.5 (R2014a)
Financial Instruments Toolbox Version 1.3 (R2014a)
Financial Toolbox Version 5.3 (R2014a)
Fixed-Point Designer Version 4.2 (R2014a)
Fuzzy Logic Toolbox Version 2.2.19 (R2014a)
Global Optimization Toolbox Version 3.2.5 (R2014a)
HDL Coder Version 3.4 (R2014a)
HDL Verifier Version 4.4 (R2014a)
IEC Certification Kit Version 3.3 (R2014a)
Image Acquisition Toolbox Version 4.7 (R2014a)
Image Processing Toolbox Version 9.0 (R2014a)
Instrument Control Toolbox Version 3.5 (R2014a)
LTE System Toolbox Version 1.1 (R2014a)
MATLAB Builder EX Version 2.5 (R2014a)
MATLAB Builder JA Version 2.3.1 (R2014a)
MATLAB Builder NE Version 4.2.1 (R2014a)
MATLAB Coder Version 2.6 (R2014a)
MATLAB Compiler Version 5.1 (R2014a)
MATLAB Report Generator Version 3.16 (R2014a)
Mapping Toolbox Version 4.0.1 (R2014a)
Model Predictive Control Toolbox Version 4.2 (R2014a)
Model-Based Calibration Toolbox Version 4.7 (R2014a)
Neural Network Toolbox Version 8.2 (R2014a)
OPC Toolbox Version 3.3.1 (R2014a)
Optimization Toolbox Version 7.0 (R2014a)
Parallel Computing Toolbox Version 6.4 (R2014a)
Partial Differential Equation Toolbox Version 1.4 (R2014a)
Phased Array System Toolbox Version 2.2 (R2014a)
Polyspace Bug Finder Version 1.1 (R2014a)
Polyspace Code Prover Version 9.1 (R2014a)
RF Toolbox Version 2.14 (R2014a)
Real-Time Windows Target Version 4.4 (R2014a)
Robust Control Toolbox Version 5.1 (R2014a)
Signal Processing Toolbox Version 6.21 (R2014a)
SimBiology Version 5.0 (R2014a)
SimDriveline Version 2.6 (R2014a)
SimElectronics Version 2.5 (R2014a)
SimEvents Version 4.3.2 (R2014a)
SimHydraulics Version 1.14 (R2014a)
SimMechanics Version 4.4 (R2014a)
SimPowerSystems Version 6.1 (R2014a)
SimRF Version 4.2 (R2014a)
Simscape Version 3.11 (R2014a)
Simulink 3D Animation Version 7.1 (R2014a)
Simulink Code Inspector Version 2.1 (R2014a)
Simulink Coder Version 8.6 (R2014a)
Simulink Control Design Version 4.0 (R2014a)
Simulink Design Optimization Version 2.5 (R2014a)
Simulink Design Verifier Version 2.6 (R2014a)
Simulink PLC Coder Version 1.7 (R2014a)
Simulink Real-Time Version 6.0 (R2014a)
Simulink Report Generator Version 3.16 (R2014a)
Simulink Verification and Validation Version 3.7 (R2014a)
Spreadsheet Link EX Version 3.2.1 (R2014a)
Stateflow Version 8.3 (R2014a)
Statistics Toolbox Version 9.0 (R2014a)
Symbolic Math Toolbox Version 6.0 (R2014a)
System Identification Toolbox Version 9.0 (R2014a)
SystemTest Version 2.6.7 (R2014a)
Trading Toolbox Version 2.1 (R2014a)
Vehicle Network Toolbox Version 2.2 (R2014a)
Wavelet Toolbox Version 4.13 (R2014a)
>>
You appear to have the product installed, but
  • you might not have it licensed
  • you might somehow have it licensed in a different license file that MATLAB is having difficulting finding
  • you might be using a shared license that someone else has checked out
  • you might be using a license manager that is having difficult serving the license
Are you using a standalone named-user license?
I am using shared license Walter. Shall i try with borrowing license for matlab compiler. Suggest me is it really works to solve the problem?

Sign in to comment.

Answers (0)

Categories

Asked:

on 6 Feb 2018

Commented:

on 11 Feb 2018

Community Treasure Hunt

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

Start Hunting!