I am having Matlab 7.90.( r2009b). I want to create executable for linux (fedora and ubuntu). But no MCR of same version available. And also unable to find option to create executable in matlab.

Hi,
What I have:
- Matlab 7.90.( r2009b)
- MCR : R2012b ( MCR_R2012b_glnxa64_installer.zip )
What I want:
- Matlab and MCR should be at one place so that I can create standalone script. As per online tutorials, I have tried mcc and mbuild command which threw error: Undefined function or variable. So how can I link Matlab and MCR ?
- Stand alone script of command line program for OS: Ubuntu and Fedora.

답변 (1개)

It looks like you do not have the necessary product - MATLAB Compiler - available to create stand-alone applications. You can test this by typing 'ver' into your command line and see the products installed.

댓글 수: 4

>> ver
-------------------------------------------------------------------------------------
MATLAB Version 7.9.0.529 (R2009b)
MATLAB License Number: ••••
Operating System: Linux 3.17.7-200.fc20.x86_64 #1 SMP Wed Dec 17 03:35:33 UTC 2014 x86_64
Java VM Version: Java 1.6.0_12-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode
-------------------------------------------------------------------------------------
MATLAB Version 7.9 (R2009b)
Bioinformatics Toolbox Version 3.4 (R2009b)
Curve Fitting Toolbox Version 2.1 (R2009b)
Genetic Algorithm and Direct Search Toolbox Version 2.4.2 (R2009b)
Image Processing Toolbox Version 6.4 (R2009b)
Optimization Toolbox Version 4.3 (R2009b)
Signal Processing Toolbox Version 6.12 (R2009b)
Statistics Toolbox Version 7.2 (R2009b)
Wavelet Toolbox Version 4.4.1 (R2009b)
Also I don't know how to link matlab to MCR. I don't know what are steps in it. Yet I have installed MCR as per documentation. I have also made changes in bashrc as they suggest. But main thing is that MCR version is different.
I don't have same MCR version. If you know how to download older version can you please send me link ?
The MCR comes with the installation of the MATLAB Compiler. You don't have the MATLAB Compiler product, so it looks somebody gave you the MCR to run a stand-application this person provided to you.
For creating a stand-alone application, the MCR is not enough. You need the MATLAB Compiler product.

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2015년 1월 13일

댓글:

2015년 1월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by