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
2
votes
2 answers

How to add greek character in matlab comment?

Can someone tell me how to add greek character in matlab comment? eg. micron, alpha etc When I publish the m file in PDF, #'\mu' (comment) does not show the greek character. How can this be fixed? %[\mu] does not work
van
  • 71
  • 1
  • 12
2
votes
2 answers

What's the difference between using "deploytool" and Matlab Compiler?

What's the function of "deploytool" that makes Java package? Is that different with Matlab Compiler? I want to use Matlab to my Netbeans project.
2
votes
0 answers

Does MATLAB MCR contain MCC?

I have a script which I need to run remotely using a Docker image. For compatibility with another pre-compiled MATLAB application (SPM), I need to use a specific MATLAB version in the Docker, and also a different OS. Thing is, I don't have access to…
jessexknight
  • 756
  • 7
  • 20
2
votes
0 answers

Work with a matlab struct in c++ (return value of a matlab function call) (library generated by matlab compiler)

Hi I have a fairly simple matlab function. E.g.: function [MYSTRUCT] = myfunc() MYSTRUCT.prop1 = 'test'; MYSTRUCT.prop2 = 'foo'; MYSTRUCT.prop3 = 42; end I compiled with the matlab compiler sdk a c++ library and added this properly to an c++…
flor1an
  • 960
  • 3
  • 15
  • 33
2
votes
1 answer

Can the MATLAB Runtime execute on AWS Lambda?

I have a project API that requires some MATLAB code to run. Currently, the MATLAB code is compiled using the MATLAB Compiler and runs with the MATLAB Runtime and Python on EC2. I'm trying to migrate away from EC2 into AWS Lambda. This requires me…
Gbps
  • 857
  • 2
  • 14
  • 29
2
votes
2 answers

MATLAB to Java with MATLAB compiler

Iam new to MATLAB and want to use some MATLAB scripts in Java. I have tried this tutorial from MATLAB. My MATLAB function i want to use in Java: function y = makesqr(x) y = magic(x); This MATLAB script should be Packaged into a Java…
Khan
  • 1,418
  • 1
  • 25
  • 49
2
votes
1 answer

How can we debug our matlab-made DLL used in a C++ app?

We have matlab .m files which have been compiled to a DLL using mcc. This is used by a C++ GUI application which we debug in Visual Studio. When we reach the call to our matlab function, all we can do is step over it. How can we debug, at a source…
DarenW
  • 16,549
  • 7
  • 63
  • 102
2
votes
0 answers

Persian font encoding in m-files on Matlab

Trying to type Persian in m-files caused to face an interesting encoding problem. Persian characters are not supported when a m-file running. for more information see the following gif: I'm wondering different encoding between command window and…
asys
  • 667
  • 5
  • 20
2
votes
1 answer

link to c++ shared library generated by Matlab Compiler SDK

Tried to deploy C++ code integrated with C++ shared library generated by Matlab compiler SDK. Matlab compiler SDK generated a folder including test.h, test.so, and readme.txt Install Matlab_runtime MCR 2. Edit the library link path according to…
micky
  • 31
  • 4
2
votes
1 answer

How can I make MATLAB to ignore a function?

My problem is, even though there is a local variable called 'mu', when code runs the command sqrt(mu) Matlab tries to run the internal function called mu. As far as I know this is not a normal behaviour. How can I make Matlab to use the local…
VolkanOzcan
  • 337
  • 1
  • 9
2
votes
1 answer

The mcc compiler "Depfun error" when building dll with .NET-dependencies and Enumerations That Encapsulate Data

I ran into problems in MATLAB R2010b when creating a DLL that uses .NET-integration and enumerations with encapsulate data. Example: There is a .NET Assembly which is used in MATLAB, let's call it "MyAssembly" (MyAssembly.dll). There Matlab…
iroln
  • 1,116
  • 1
  • 16
  • 16
2
votes
1 answer

Mex error while running vl_compile in vl-feat

I have recently tried vl-feat in matlab. While i am trying to compile vl_compile the following error is showing up Error using mex…
user7029552
  • 61
  • 1
  • 1
  • 5
2
votes
1 answer

No command MCC found

I am trying to create an executable using Matlab 2013a in Ubuntu 14.04, and after some research, I understood the following command, creates the executable mcc -mv matlabfile.m However, when I run this command, I get following error No…
Lakshmi Narayanan
  • 5,220
  • 13
  • 50
  • 92
2
votes
1 answer

Why can't I execute different Matlab functions from Java concurrently?

I have two Java Servlets: DataFetcherServlet and UploaderServlet. Both servlets call 2 different Java methods which in turn call their corresponding Matlab functions through JNI, and each of which was compiled into a separate Java jar file to use as…
Trash Can
  • 6,608
  • 5
  • 24
  • 38
2
votes
1 answer

Compiling Matlab shared library with image processing toolbox

I'm trying to compile C shared library from Matlab. My Matlab code uses a lot of the image processing functionality. So, compiling goes fine, but when I call the dll from my application, I get messages like: "Undefined function or method 'XYZ' for…
mike
  • 536
  • 1
  • 6
  • 16