Questions tagged [matlab-compiler]

MATLAB Compiler™ lets you share your MATLAB® application as an executable or a shared library. Consider also the tag matlab-deployment.

MATLAB Compiler™ lets you share your MATLAB® application as an executable or a shared library. Executables and libraries created with MATLAB Compiler use a runtime engine called the MATLAB Runtime. The MATLAB Runtime is provided with MATLAB Compiler for distribution with your application and can be deployed royalty-free.

442 questions
44
votes
4 answers

MATLAB Compiler vs MATLAB Coder

What's the difference between the two? As far as I understand it, MATLAB Compiler wraps the MATLAB code into a .exe file so that it can be used without installing MATLAB, and only requires the MCR. On top of it MATLAB Builder NE can also be used to…
Win Coder
  • 5,948
  • 11
  • 48
  • 78
27
votes
3 answers

How can I pass command line arguments to a standalone MATLAB executable running on Linux/Unix?

How can I pass command line arguments to a standalone MATLAB executable running on Linux/UNIX? I need to compile my MATLAB script as a standalone file that can be run on a machine without MATLAB present. It needs to be able to work in a way similar…
23
votes
5 answers

Matlab Kalman /usr/bin/ld: cannot find -lstdc++

I'm following the Matlab coder kalman tutorial in Matlab help. When using codegen, there's an error as below: /usr/bin/ld: cannot find -lstdc++ collect2: ld returned 1 exit status But there is libstdc++.so.6 in /lib/ and /usr/lib
bitcold
  • 513
  • 2
  • 5
  • 10
19
votes
5 answers

Can someone either point me to an online/free MATLAB compiler/interpreter or explain what happens in this MATLAB code?

I apologize in advance for this question. I don't like "explain this code" questions, but I can't find any documentation about my specific example. Background My issue is this. I am trying to translate some MATLAB code to C#, but I am at the same…
Mike Webb
  • 8,305
  • 18
  • 74
  • 108
14
votes
3 answers

java.library.path, classpath Netbeans 8.0.2

I have just installed the Matlab Runtime on: Distributor ID: Ubuntu Description: Ubuntu 15.04 Release: 15.04 Codename: vivid You can find the Matlab runtime here in my case in installed R2015b (9.0)* (MATLAB Runtime 9.0, for R2015b, is…
DevilCode
  • 892
  • 2
  • 32
  • 56
13
votes
2 answers

Is it possible to install Windows SDK for Windows 7 on Windows 8?

I am trying to install Windoes SDK for Windows 7 and .NET framework 4 for MATLAB R2015b, on Windows 8. But I get the following error: The windows installer is busy configuring another program No other program is being installed at the same time…
B Faley
  • 14,391
  • 34
  • 113
  • 191
11
votes
2 answers

Call matlab shared library from dotnet core on linux

I am trying to call a shared library created with MathWorks MATLAB Compiler SDK from C# (.NET Core) running on a Linux container. I have a matlab .m file that I've compiled into a .dll using the MATLAB R2018b compiler SDK. Because the final…
Dennis Dunn
  • 111
  • 3
10
votes
3 answers

Matlab deployment: add files to source control?

I've created a deployment project which works rather well and now I want to add it to source control repository for others to use. The main problem I'm facing is that the .prj file which deploytool creates contains absolute paths which will not work…
shoosh
  • 70,450
  • 50
  • 199
  • 310
10
votes
2 answers

matlab in C C++ and C C++ in matlab

It seems that are several ways to call matlab in C C++ and to call C C++ in matlab. While I try to list them here, please point it out If I miss something. To call C C++ in matlab, there are also two methods. The first one is to call functions in C…
Tim
  • 1
  • 122
  • 314
  • 481
9
votes
1 answer

Which was the latest Matlab version that allowed to install MCR without Administrator rights?

I want compile some GUI into a Windows standalone application (*.exe). The main idea is run my applications in different computers WITHOUT the necessity of privileges to run it. While doing these steps, I noticed that when I want to run…
FZNB
  • 2,343
  • 1
  • 15
  • 15
9
votes
11 answers

Why don't I see a significant speed-up when using the MATLAB compiler?

I have a lot of nice MATLAB code that runs too slowly and would be a pain to write over in C. The MATLAB compiler for C does not seem to help much, if at all. Should it be speeding execution up more? Am I screwed?
GSS1
8
votes
1 answer

MCR and .NET incompatibility

I am trying to compile a Matlab (R2010b) application that uses a .NET module, but I am facing a problem with incompatibility between the MCR and the .NET module: The .NET module is compiled with Visual Studio 2010. MCR is configured to use Visual…
trondd
  • 838
  • 1
  • 7
  • 12
8
votes
2 answers

Return value from jar file created from Matlab

I have got a Matlab code which at last calculates a vector of indexes. I used library compiler in order to compile matlab code to a java package .jar file. I exported the jar file in order to run it for my main Java project. The name of the package…
Jose Ramon
  • 5,124
  • 20
  • 63
  • 136
8
votes
1 answer

Deployed Matlab application using significantly more memory than Matlab scripts

I was testing a stand-alone application we developed in Matlab when I noticed that its memory usage, according to Windows Task Manager, was peaking several times above 16gb. I decided to run Matlab's profiler with profile -memory on on the scripts…
ackrause
  • 432
  • 4
  • 11
7
votes
2 answers

MATLAB 2014a (8.3) Compiler Runtime Errors libmwlaunchermain.so

MATLAB 2014a (8.3) Runtime Compiler (MCR) Errors when trying to launch deployed (using deploy tool) application in Ubuntu 13.04. Right after installation of MCR if one runs the deployed application following error appears: error while loading shared…
1
2 3
29 30