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....

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-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...

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...

Quick fix: You could add all main programs in one root dir. Submodules are in folders below. At every main program you ensure that all paths are set correctly. At the end of the program you restore the original path settings % Begin of main program. Set path to all...

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 =...

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

I am assuming that the data read in from all of the text files are the same length. If that's the case, then all you have to do is create an empty matrix, then concatenate your results column by column. You simply have to add two lines. % Store the...

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,statistics,matlab-guide,matlab-deployment

That scaling comes from linear algebra. That's what we call normalizing by producing a unit vector. Assuming that each row is an observation and each column is a feature, what's happening here is that we are going through every observation that you collected and normalizing each feature value over all...

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...

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....

You would typically use the add-on product MATLAB Builder JA. If you take a look at that page, there a number of written and video tutorials that will walk you through how to do it.

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...