Community Profile

photo

Harsheel

MathWorks

Active since 2013

I work at MathWorks in the 'Application Deployment' team.

Statistics

  • Knowledgeable Level 3
  • 3 Month Streak
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
Mex files call DLL generated by .m file
You cannot load a MATLAB Compiler SDK generated shared library back into MATLAB. This is currently unsupported and is mentioned ...

6 years ago | 0

| accepted

Answered
MATLAB Library Compiler, Excel Add-in compiling error (error code=-1)
MinGW cannot be used to create Excel addins in R2016b. You need to install a compiler that has "tick" mark under "Excel addin" c...

6 years ago | 1

Answered
How to compile a deployable program with the Parallel Computing Toolbox included?
For your use-case, you don't need to use the -a flag. MATLAB Compiler command mcc or the deploytool GUI will automatically figur...

8 years ago | 0

| accepted

Answered
Unable to install MinGW-w64 compiler 4.9.2
This may be caused by insufficient space in your %TEMP% directly. You might try clearing some items in the directly. Also the fo...

8 years ago | 0

Answered
MATLAB deploytool works, but deplytool.bat fails
This was a bug in R2014a release which was fixed in the next release R2014b. If you have MathWorks SMS (Software Maintenance Ser...

8 years ago | 0

Answered
set-up for complier sdk
It might be difficult but not impossible to install SDK 7.1 on Win 10. Seems like the following link may help you: <http://st...

8 years ago | 0

Answered
mbuild -setup failed while mex -setup succeeded
Since R2014a, a new MBUILD and new MEX were shipped. It seems like you are using the old MEX (which uses mexopts.sh file) instea...

8 years ago | 1

Answered
"Preview Vid" doesn't work properly after compiling into standalone executable
Seems like a bug to me. To work around the issue, make sure that the main function does not end before the whole application doe...

8 years ago | 4

| accepted

Answered
Converting Cell Array Output to Logical Matrix
out = cellfun(@(x)(strcmp(x,'A1a')), A); % A is the input cell array <http://www.mathworks.com/help/matlab/ref/cellfun.html...

8 years ago | 1

Answered
Using .mat file with deployed application
You can use the following command: mcc -m myMainFile.m -a matFile1.mat -a somePath/matFile2.mat Now, in the "deployed" M...

8 years ago | 3

Answered
How do I include a camera support package in a MATLAB compiled standalone executable?
Does this link help you? http://www.mathworks.com/help/compiler/manage-support-packages.html

8 years ago | 0

| accepted

Answered
Can I use the SDK Compiler in 2015a with a version of Java that didn't come with MATLAB?
What you are doing is changing the JAVA version for MATLAB and all the toolboxes. You don't need to do that, revert this change....

8 years ago | 1

Answered
[Matlab runtime] Running a .dll with functions from Curve Fitting Toolbox
Yes, installing the MATLAB runtime on the server will be enough. The toolbox-specific functions are part of the .dll file that y...

8 years ago | 0

| accepted

Answered
Matlab compiler shared resources and helper files
# You need to add folder X in the "Files required for your application to run" section below the "Application Information" GUI. ...

8 years ago | 0

| accepted

Answered
How can I point Matlab to my compiler?
R2013b supports Visual C++ 2008 *Professional* SP1 Edition. You have express edition which is different. You need to install the...

8 years ago | 0

Answered
How can I see the java classes that I used in my standalone applications?
You can indirectly find the JAVA classes that your application *loads*. >> [a1,b1,c1] = inmem; >> run your application ...

8 years ago | 1

Answered
Mean of squares of first nn positive integers.
the code looks correct, seems like you're passing a character rather than an integer. >> mean_squares('5') % incorrect ...

8 years ago | 1

Answered
"Mex file generation" invalid character code error
This may occur if your MATLAB current working directory has non-ascii characters. To resolve this, remove any non-ascii characte...

8 years ago | 0

| accepted

Answered
Error in Matlab compiled executable when using Serial()
It seems like the correct jar files have not been picked up during the compilation process leading to a java runtime error. To r...

8 years ago | 2

Answered
Compiling C++ software Using Mex
Replace -llibopencv_core and -llibopencv_highgui to: -lopencv_core -lopencv_highgui For -llibname, MATLAB expands libnam...

8 years ago | 0

Answered
Why my exe file built in matlabR2009a cannot run on other systems?
Prior to R2010b, ML Compiler generated applications were not cross-platform compatible. This means that your 32-bit application ...

8 years ago | 0

Answered
How to embed MCR in Matlab Compiler using "mcc"?
Unfortunately, currently there is no way to embed the MCR with the mcc command. The mcc command was designed to be a low-level c...

8 years ago | 0

| accepted

Answered
Matlab Compiler Standalone Application and startup.m
# The startup.m file is always included with the compiled application. This is to ensure that the behavior of MATLAB and the com...

9 years ago | 3

| accepted

Answered
I need to create a stand alone .exe file from a MATLAB code (with GUI) to work on all windows platforms (32 & 64 bits) while i have only 64 bit windows and 64 bit MATLAB software.
# exe files created from 64-bit of MATLAB will run only on 64-bit Win. # exe files created from 32-bit of MATLAB will run on 3...

9 years ago | 0

Answered
Why do I get java.lang null pointer exception?
In R2014a, this can be resolved using MathWorks patch that can be found here: <http://www.mathworks.com/support/bugreports/10...

9 years ago | 0

| accepted

Answered
c++ exception in m_interpreter!inPathNotificatoin::refresh notification - what does this mean?
First chance exception messages most often do not mean there is a problem in the code. For applications / components which hand...

9 years ago | 0

Answered
Matlab compiler doesn't build applications.
Seems like you may have to use the C locale. For example in bash: export LANG=C Or csh: setenv LANG C

9 years ago | 0

Answered
Compiler Runtime on Windows 8 TABLET
If MATLAB is supported on a given platform, then the MATLAB Compiler Runtime will be supported as well. Check the following link...

9 years ago | 0

Answered
Error trying to use mcr
Are you sure you installed the 64-bit version of MCR? What does your system PATH variable look like (from Windows command prompt...

10 years ago | 0

Answered
Question about mcc -a plusab.m
It seems like you have MATLAB Compiler installed but do not have a license for it. To confirm, execute the following: >> li...

10 years ago | 0

Load more