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.

468 questions
3
votes
1 answer

Error: 'Subscript indices must either be real positive integers or logicals' when using Matlab .NET builder

I am using matlab NE builder to compile a dll file which I call from C#. The matlab code is confirmed to work in matlab, but when called from c# the following error occurs: An unhandled exception of type 'System.Exception' occurred in …
Fredrik Bagge
  • 1,351
  • 8
  • 20
3
votes
2 answers

MATLAB compiler processes mcc.enc from unrelated toolboxes

I'm using mcc to compile my MATLAB project. The machine I'm using has many MATLAB toolboxes installed on it, but my code only requires a few (such as distcomp and images). However, whenever I run mcc, it ends up "processing" the mcc.enc files for…
knowah
  • 110
  • 4
  • 11
3
votes
1 answer

.net and matlab integration

I am just curious. What is the cheapest and most contemporary option to integrate matlab and .net. I believe there are other options than this: matlab netbuilder
cs0815
  • 16,751
  • 45
  • 136
  • 299
2
votes
1 answer

How to redirect the output of a compiled matlab script?

I have been given some matlab code compiled using the .net compiler. I can run it just fine from a console application, but if there are some warnings, they are printed in the command window. I would like to be able to either hide them, or print…
SRKX
  • 1,806
  • 1
  • 21
  • 42
2
votes
2 answers

Running Matlab MCR and MATLAB on the Same Machine

I'm having trouble getting a compiled .exe file to run with MCR instead of Matlab (I can tell because the program is using multiple threads, which it would not do if it were running with MCR). The MATLAB documentation…
user1189728
  • 157
  • 1
  • 4
  • 8
2
votes
1 answer

how to continue using the 32-bit API for C Matrix API on 64bit MCR

https://nl.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html the article above mentions the following for MEX files. "You can continue to use the 32-bit API by calling the mex command with the -compatibleArrayDims…
Kıvanç Sahici
  • 300
  • 2
  • 8
2
votes
1 answer

Is there a way to host MATLAB web app (designed in App Designer) on Github Pages?

I have already created and designed my MATLAB app in App Designer, where it currently works fine with the executable deployment. However, I've been researching the implementation of my application into a web browser, and have attempted doing it…
2
votes
0 answers

Matlab Standalone Compiler problem with uigetfile

I am running Matlab r2011a on a mac osx lion. I use uigetfile in my matlab environment and it works fine. However, as soon as I compile a standalone app, it decides to not show my uigetfile window when I call it. Any idea what could be…
Joe C
  • 21
  • 1
2
votes
0 answers

Avoid MCR CACHE deletion each time an executable is launched

I have two Matlab scripts (Init.m and Filter.m) compiled using the Matlab application compiler in Windows (Init.exe and Filter.exe are created). I have seen that if I launch the Init.exe, a folder is created in the MCR_CACHE folder containing all…
2
votes
1 answer

SxS error in Windows 7 when trying to run a Matlab-Compiler-Runtime application

I'm trying to run a data analysis tool that was built as a standalone Matlab application on a Windows 7 machine. I've installed the Matlab Compiler Runtime (MCR) libraries version 7.11, 2009b. When I attempt to launch the application ELISAgui.exe…
Sevenless
  • 2,805
  • 4
  • 28
  • 47
2
votes
0 answers

CMake to compile Matlab .m file to .exe using MCC

We're using the latest version of CMake(3.17), trying to compile a top level .m file into an executable on Matlab 2015b I've done find_package(Matlab OPTIONAL_COMPONENTS MEX_COMPILER MCC_COMPILER) and it finds matlab. I'm able to make MEX files…
Russ Schultz
  • 2,545
  • 20
  • 22
2
votes
1 answer

Gabor Phase ?? my values are too small

Hi every one >> hope you all are doing fine I wanted to ask you about calculating the phase values for an image ,, you see I used the Gabor wavlet like so : k = ( Kmax / ( f ^ v ) ) * exp( 1i * u * pi / 8 );% Wave Vector kn2 = ( abs( k ) ) ^…
Rand
  • 21
  • 2
2
votes
2 answers

Compiled Matlab function works only once

I have a Matlab function compiled into C library. I am using this library from C# application. If I call my function in C library for the first time, everything works fine, but the second call causes an exception - mlfMyfunc returns null pointer…
Lukas Kabrt
  • 5,441
  • 4
  • 43
  • 58
2
votes
2 answers

Force compiled Matlab app to use runtime rather than a Matlab license

My client has a network that doesn't have access to the internet. They intend to buy (very few) Matlab licenses just for the development efforts of me and my colleague. For the operational use by their staff, however, I should compile my Matlab…
user36800
  • 2,019
  • 2
  • 19
  • 34
2
votes
0 answers

Connect To Matlab 2017b from c++ vs2013

I would like to read some variable's value in Matlab from c++. I searched in Internet and found out below example in Matlab Documentation Page. for using this example I Did below steps: I add this include path to project : c:\program…
hamed
  • 471
  • 1
  • 9
  • 22