matlab,matlab-guide,matlab-compiler

Trial versions of MATLAB Compiler produce executables that expire at the same time as the trial. To produce a permanent executable you will need to pay for a full license.

matlab,cross-platform,matlab-compiler

No, you can't. Applications produced by MATLAB Compiler are platform-specific, so if you want to run it on Linux you'll need to compile it on Linux. However, licenses of MATLAB and MATLAB Compiler are not platform-specific, so you should be able to install the same copy of MATLAB and MATLAB...

You can use the function isdeployed. This returns true when called within an application compiled with MATLAB Compiler, and false when called from within live MATLAB.

java,matlab,jar,matlab-deployment,matlab-compiler

There are two things you need to add to the Java project classpath: the deployed JAR file you created from the MATLAB code. Java Builder's own JAR files. If you have MATLAB installed on the target machine, you can find those inside $MATLABROOT\toolbox\javabuilder\jar\javabuilder.jar, otherwise install the appropriate MCR runtime (available...

matlab,matlab-figure,matlab-guide,matlab-deployment,matlab-compiler

I assume you copy-pasted the function syntax from somewhere and that you don't need to return j. Define this function in globalfun.m function score = globalfun(a, xr, x) ... score = gv_0/gv_1; end The value of score is assigned within globalfun and will be set as return value. Then call...

c,matlab,static-linking,matlab-deployment,matlab-compiler

To summarize our comments in the question and make it an answer. Here is how I manage to create both x32 and x64 libraries/standalones with mcc. NB: Maybe there are more elegant solutions to configure deploytool, anyway with brute force I'm sure it works and I can automate global deployment...

matlab,matlab-deployment,matlab-compiler

Update comment gives info that this is a compiled GUI error question. To resolve that run your exe from dos command window and you will see the error message written to the DOS prompt. That way you can debug and resolve the issue....

When you say "generate C code from this script", I assume you're asking whether it's possible to use MathWorks code generation products (e.g. MATLAB Coder) to convert this script to C code. If so then no - MATLAB Coder converts MATLAB code to C, and it only converts a subset...

matlab,matlab-guide,matlab-deployment,matlab-compiler

If you want your final results returned from the function, define them as output in the function header: function Synonyms = takesynonyms(words) This way you can call the function and retrieve its output into some variable: goodSynonyms = takesynonyms('good'); Read more about defining functions in the documentation....

matlab,matlab-guide,matlab-deployment,matlab-compiler

Matlab docs are here From there : zscore(X,flag,dim) If flag is 0 (default), then zscore scales X using the sample standard deviation... If flag is 1, then zscore scales X using the population standard deviation zscore(X,flag,dim) standardizes X along dimension dim You wouldn't change the 2 to a 4 unless...

nlp,matlab,matlab-guide,matlab-compiler

Heres a detailed description of using matlab with the stanford max entropy pos-tagger: http://utkarshu.in/Easy_POS_tagging.html It doesn't use wordnet but will work for pos-tagging. Hope this helps! edit... You don't need to know java to make this work, but you should have java installed (if you don't already see https://www.java.com/en/download/help/download_options.xml and...

matlab,python-2.7,matlab-compiler

Concerning the MATLAB "features", check this blog entry by Loren: http://blogs.mathworks.com/loren/2011/02/03/creating-c-shared-libraries-and-dlls/ It shows a pretty complete example of how to create a shared library and how to use it. Quoting example code from that link, to initialize the MCR and the generated library you'll have to call: // Initialize the...

matlab,matlab-deployment,matlab-compiler

You can't run Matlab code standalone without having MATLAB or the MATLAB Compiler Runtime installed. But it is legal to distribute the MCR to the customers to make them able to use your programs. Alternatively you can use the MATLAB Coder to convert your code to C/C++, which is not...

matlab,matlab-deployment,matlab-compiler

There is a utility published on the Mathworks website that does just that. http://www.mathworks.com/matlabcentral/fileexchange/3909-suppress-command-window Another solution would be to use another application to launch your MATLAB exe silently. In C# for example you could start your MATLAB exe with the following arguments to hide the console window: var process =...

Remove the line size(H) = (n,3); and add the line H = H'; Total code should be as follows function H = hulk(v) H = [v; v.^2; v.^3]; H = H'; end Your code giving error in matlab editor on the size(H) = (n,3); line That's why you should use...

matlab,matlab-guide,matlab-compiler,nonlinear-optimization

Your function is incorrect as far as I can see. This line: xprime=[ alpha*I*(1-c) + c*(- k_f - k_d - k_n * s - k_p*(1-q)); lambda_b * c* P_C - lambda_r *(1-q)*s; k_p * c *(P_C / P_Q)- gamma * q]; should be: xprime=[ alpha*I*(1-x(1)) + x(1)*(- k_f - k_d...

You can use MinGW, but it is not straightforward. See this Q&A. The accepted answer suggest to compile and link MEX files outside of MATLAB, which is fine, but it's simple to just create mexopts.bat to do this. A good mexopts.bat for MING is hosted here. Pick a MINGW distribution...

java,matlab,jar,matlab-deployment,matlab-compiler

To get a free trial of MATLAB Builder JA, just go to the product page, and click the link on the right that says "Product Trial". You should be able to immediately download a short-term (about 15 days) trial without needing any involvement from a human at MathWorks. However, if...