Answered

JDK provider and version disparities

You are correct that MATLAB ships with an Oracle version of the JRE. Compiler SDK for Java requires a JDK to compile Java code....

JDK provider and version disparities

You are correct that MATLAB ships with an Oracle version of the JRE. Compiler SDK for Java requires a JDK to compile Java code....

ungefär en månad ago | 0

| accepted

Answered

Example of coding a `struct` in Java when packaging Matlab function?

The eaiest way to learn how to create structs in the Java API is to add a sample in the Library Compiler tool with a sample stru...

Example of coding a `struct` in Java when packaging Matlab function?

The eaiest way to learn how to create structs in the Java API is to add a sample in the Library Compiler tool with a sample stru...

ungefär en månad ago | 0

| accepted

Answered

`mlx` interface for Java packaging of Matlab functions?

Java packages produced by the Compiler SDK product support a variety of signatures and has expanded over time. New users to the...

`mlx` interface for Java packaging of Matlab functions?

Java packages produced by the Compiler SDK product support a variety of signatures and has expanded over time. New users to the...

ungefär en månad ago | 0

| accepted

Answered

Inconsistent array notation in Java interface generated by MATLAB Compiler SDK?

You are correct that mlx is a convention. It refers to a c style interface that is familiar to people using other c-style MATLA...

Inconsistent array notation in Java interface generated by MATLAB Compiler SDK?

You are correct that mlx is a convention. It refers to a c style interface that is familiar to people using other c-style MATLA...

ungefär en månad ago | 0

| accepted

Answered

Generate command-line command from library compiler project?

You can use: deploytool -build foo.prj To build from the command line using the current settings in the project. Form the os ...

Generate command-line command from library compiler project?

You can use: deploytool -build foo.prj To build from the command line using the current settings in the project. Form the os ...

ungefär en månad ago | 0

| accepted

Answered

MWArray: Non-conventional-Matlab terminology for data types and arrays?

MWNumericArray(boolean rVal, boolean iVal, MWClassID classid) This signature will take Java booleans and convert them to ...

MWArray: Non-conventional-Matlab terminology for data types and arrays?

MWNumericArray(boolean rVal, boolean iVal, MWClassID classid) This signature will take Java booleans and convert them to ...

ungefär en månad ago | 0

| accepted

Answered

WHY my matlab has encountered an internal problem and need to close when i open it??

You may be having an issue with opengl try starting MATLAB from a terminal matlab -softwareopengl

WHY my matlab has encountered an internal problem and need to close when i open it??

You may be having an issue with opengl try starting MATLAB from a terminal matlab -softwareopengl

ungefär 4 år ago | 1

Answered

Warning: Name is nonexistent or not a directory

If you are in linux or Mac paths are case sensitive. rmpath('/home/psantos/Demos') addpath('/home/psantos/demos') w...

Warning: Name is nonexistent or not a directory

If you are in linux or Mac paths are case sensitive. rmpath('/home/psantos/Demos') addpath('/home/psantos/demos') w...

ungefär 4 år ago | 0

Solved

Pizza!

Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

ungefär 4 år ago

Submitted

Web Deployment Using MATLAB

A web-based gene analysis demonstration using MATLAB Builder for COM

ungefär 4 år ago | 1 download |

Submitted

Access a MATLAB Compiler Generated DLL

Use WIN32 api to load Compiler generated dll at runtime.

ungefär 4 år ago | 2 downloads |

Solved

Determine if input is odd

Given the input n, return true if n is odd or false if n is even.

ungefär 8 år ago

Solved

Times 2 - START HERE

Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

ungefär 8 år ago

Answered

How do I pass an equation as a parameter to a class constructor?

You wouldn't pass something like 2x + 1 to <http://www.mathworks.com/help/techdoc/ref/diff.html DIFF>. DIFF expects a vector or...

How do I pass an equation as a parameter to a class constructor?

You wouldn't pass something like 2x + 1 to <http://www.mathworks.com/help/techdoc/ref/diff.html DIFF>. DIFF expects a vector or...

mer än 9 år ago | 0

Answered

How can I convert a large .mat file (> 400 MB) into an excel file or csv file?

You are probably getting this error: ??? Error using ==> xlswrite at 211 Excel returned: Error: Object returned error code...

How can I convert a large .mat file (> 400 MB) into an excel file or csv file?

You are probably getting this error: ??? Error using ==> xlswrite at 211 Excel returned: Error: Object returned error code...

mer än 9 år ago | 0

Answered

How do I get started with an augmented reality project?

Here is an <http://www.mathworks.com/videos/matlab/sudoku.html example> of a sudoko solver that implements a 2D solution. Her...

How do I get started with an augmented reality project?

Here is an <http://www.mathworks.com/videos/matlab/sudoku.html example> of a sudoko solver that implements a 2D solution. Her...

mer än 9 år ago | 0

Answered

How to save a GUI In Way that you can run it from another PCs?

You can redistribute MATLAB code and Guide guis using the <http://www.mathworks.com/products/compiler/ MATLAB Compiler>. This w...

How to save a GUI In Way that you can run it from another PCs?

You can redistribute MATLAB code and Guide guis using the <http://www.mathworks.com/products/compiler/ MATLAB Compiler>. This w...

mer än 9 år ago | 0

Answered

FOR EACH object in object

|for| in MATLAB behaves a lot like |FOR EACH|. If you say: for idx = 1:10 you are saying FOR EACH idx IN [1 2...

FOR EACH object in object

|for| in MATLAB behaves a lot like |FOR EACH|. If you say: for idx = 1:10 you are saying FOR EACH idx IN [1 2...

mer än 9 år ago | 2

Answered

How do I count the number of matching pairs in 2 vectors and use that as colors in a contour plot?

A = [1,2,5,1,6,2,8,2,9]; B = [3,4,2,3,7,4,5,4,8]; c = <http://www.mathworks.com/help/matlab/ref/accumarray.html |accum...

How do I count the number of matching pairs in 2 vectors and use that as colors in a contour plot?

A = [1,2,5,1,6,2,8,2,9]; B = [3,4,2,3,7,4,5,4,8]; c = <http://www.mathworks.com/help/matlab/ref/accumarray.html |accum...

mer än 9 år ago | 0

Answered

FIR Window - Taylor

The <http://www.mathworks.com/help/toolbox/signal/taylorwin.html |taylorwin|> documentation provides references for the signal p...

FIR Window - Taylor

The <http://www.mathworks.com/help/toolbox/signal/taylorwin.html |taylorwin|> documentation provides references for the signal p...

mer än 9 år ago | 0

| accepted

Answered

How can I get and set variables like PID parameters in a Simulink model from an mfile?

<http://www.mathworks.com/help/toolbox/simulink/slref/open_system.html |open_system|> <http://www.mathworks.com/help/toolbox/...

How can I get and set variables like PID parameters in a Simulink model from an mfile?

<http://www.mathworks.com/help/toolbox/simulink/slref/open_system.html |open_system|> <http://www.mathworks.com/help/toolbox/...

nästan 10 år ago | 1

Answered

How can I use dlmread to input data as single precision?

I think you want to use <http://www.mathworks.com/help/techdoc/ref/textscan.html |textscan|>. That will allow you to specify th...

How can I use dlmread to input data as single precision?

I think you want to use <http://www.mathworks.com/help/techdoc/ref/textscan.html |textscan|>. That will allow you to specify th...

nästan 10 år ago | 0

| accepted

Answered

Why do I get a "could not find version 7.14 of the MCR..." error when running my compiled compiled .exe?

There are <http://www.mathworks.com/help/toolbox/compiler/f12-999353.html really 2 things> that need to happen to run an applica...

Why do I get a "could not find version 7.14 of the MCR..." error when running my compiled compiled .exe?

There are <http://www.mathworks.com/help/toolbox/compiler/f12-999353.html really 2 things> that need to happen to run an applica...

nästan 10 år ago | 1

| accepted

Answered

The FIND command returns an empty matrix for a number I know exists

You are bumping into issues with floating point accuracy. Loren has a nice <http://blogs.mathworks.com/loren/2006/08/23/a-glimp...

The FIND command returns an empty matrix for a number I know exists

You are bumping into issues with floating point accuracy. Loren has a nice <http://blogs.mathworks.com/loren/2006/08/23/a-glimp...

nästan 10 år ago | 2

Answered

Can anyone explain how Sliceomatic works??

This slicebucky example that is in the download is a good example for getting started with sliceomatic. function slicebucky ...

Can anyone explain how Sliceomatic works??

This slicebucky example that is in the download is a good example for getting started with sliceomatic. function slicebucky ...

nästan 10 år ago | 1

| accepted

Answered

Is there a 100% stacked area chart in MALTAB?

You can use the <http://www.mathworks.com/help/techdoc/ref/area.html *AREA*> function: Y = [1, 5, 3; 3, 2, 7; 1...

Is there a 100% stacked area chart in MALTAB?

You can use the <http://www.mathworks.com/help/techdoc/ref/area.html *AREA*> function: Y = [1, 5, 3; 3, 2, 7; 1...

nästan 10 år ago | 1

Answered

Find position of the values of an array in a second array

This: dls(i)>=look(j) Should be: dls(i)>look(j) You might be able to write this functionality more compactly b...

Find position of the values of an array in a second array

This: dls(i)>=look(j) Should be: dls(i)>look(j) You might be able to write this functionality more compactly b...

nästan 10 år ago | 1

Answered

Why do I get the same numbers in "randn" function?

This is by <http://www.mathworks.com/help/techdoc/ref/randn.html design>: The sequence of numbers produced by randn is determin...

Why do I get the same numbers in "randn" function?

This is by <http://www.mathworks.com/help/techdoc/ref/randn.html design>: The sequence of numbers produced by randn is determin...

nästan 10 år ago | 0

Answered

help with fzero function

I think the issue is that you are using alphax but not passing parameters in trial0 here: A4 = sigma_e + ((1-0.14*(d/L))/...

help with fzero function

I think the issue is that you are using alphax but not passing parameters in trial0 here: A4 = sigma_e + ((1-0.14*(d/L))/...

nästan 10 år ago | 4

| accepted