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.

3 views (last 30 days)
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.

Answers (1)

Andreas Goser
Andreas Goser on 13 Jan 2015
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 Comments
chetan
chetan on 13 Jan 2015
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 ?
Andreas Goser
Andreas Goser on 13 Jan 2015
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.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!