Answered

how to delete mat file

Looks like you have several copies in different folders on the MATLAB path. Delete only deletes the first. Try which ('fp_d...

how to delete mat file

Looks like you have several copies in different folders on the MATLAB path. Delete only deletes the first. Try which ('fp_d...

oltre 9 anni ago | 0

Answered

How to plot a graph that has two x-axis?

With Waterloo graphics, you can have any number of layered graphs each with independent axes (linear, log etc): <<http://wate...

How to plot a graph that has two x-axis?

With Waterloo graphics, you can have any number of layered graphs each with independent axes (linear, log etc): <<http://wate...

oltre 9 anni ago | 0

Answered

Take a Scatter graph and fill the gaps between the dots.

Set the background color for the axes. Your scatter plot will be painted on top.

Take a Scatter graph and fill the gaps between the dots.

Set the background color for the axes. Your scatter plot will be painted on top.

oltre 9 anni ago | 0

Answered

Matlab not responding after saving eps figure?

See <http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/324406#891520>

Matlab not responding after saving eps figure?

See <http://www.mathworks.co.uk/matlabcentral/newsreader/view_thread/324406#891520>

oltre 9 anni ago | 0

Answered

Unable to clear classes

Object references can leak via userdata or appdata, callbacks, the variable editor etc. Try closing all figures - but probably c...

Unable to clear classes

Object references can leak via userdata or appdata, callbacks, the variable editor etc. Try closing all figures - but probably c...

circa 10 anni ago | 1

Answered

How can I make Variable Editor show the value of a class object derived from "double"

In answer to the OP: I have never tried subclassing a primitive data type. That I suspect is the source of the problem here and ...

How can I make Variable Editor show the value of a class object derived from "double"

In answer to the OP: I have never tried subclassing a primitive data type. That I suspect is the source of the problem here and ...

circa 10 anni ago | 1

Answered

Test existence of files with EXIST

Easy with Java: File1 = fullfile(matlabroot,'toolbox','matlab','graph2d','plot'); File2 = fullfile(matlabroot, 'toolbox'...

Test existence of files with EXIST

Easy with Java: File1 = fullfile(matlabroot,'toolbox','matlab','graph2d','plot'); File2 = fullfile(matlabroot, 'toolbox'...

circa 10 anni ago | 1

| accepted

Answered

Passing javaArray to java method, error: No method 'getArray' with matching signature found for class

float (with no capital letter) is a primitive data type in Java Float (with capital) is a 'boxed' primitive - a true Java obj...

Passing javaArray to java method, error: No method 'getArray' with matching signature found for class

float (with no capital letter) is a primitive data type in Java Float (with capital) is a 'boxed' primitive - a true Java obj...

circa 10 anni ago | 0

| accepted

Answered

Calling Java from Matlab

You have an instance of the Java VM running already with MATLAB so you do not need a main entry point. For hello world, just use...

Calling Java from Matlab

You have an instance of the Java VM running already with MATLAB so you do not need a main entry point. For hello world, just use...

circa 10 anni ago | 0

| accepted

Answered

How can I implement a rolling list ?

or *Edited for unity-based indexing as per @Blake's remark below:* x=zeros(1,1000) circindex=@(k)mod(k-1,numel(x))+1 ...

How can I implement a rolling list ?

or *Edited for unity-based indexing as per @Blake's remark below:* x=zeros(1,1000) circindex=@(k)mod(k-1,numel(x))+1 ...

circa 10 anni ago | 1

Answered

Fonts that work correctly

You might(?) see better cross-platform consistency with one of the Java virtual fonts such as Serif or Sans Serif. All MATLAB...

Fonts that work correctly

You might(?) see better cross-platform consistency with one of the Java virtual fonts such as Serif or Sans Serif. All MATLAB...

circa 10 anni ago | 0

Answered

JAR behaves differently when running in MATLAB - Throws error that cannot be reproduced outside MATLAB

Are you using the same ice.net jar file in Eclipse & MATLAB? It ships with and is on the ML static jar path. Many jars shipped w...

JAR behaves differently when running in MATLAB - Throws error that cannot be reproduced outside MATLAB

Are you using the same ice.net jar file in Eclipse & MATLAB? It ships with and is on the ML static jar path. Many jars shipped w...

circa 10 anni ago | 0

Question

Add a custom JToolbar to the new toolstrip in R2012b

*EDIT: A supported way to do this is with the Quick Access Toolbar: see Loren's blog <http://blogs.mathworks.com/loren/> for 1...

circa 10 anni ago | 0 answers | 3

Answered

mxGetDimensions returning incorrect values

Is N correct? I am rusty with mex but with -largeArrayDims, _mxGetDimensions_ returns size_t results. See MATLAB docs for _mwSiz...

mxGetDimensions returning incorrect values

Is N correct? I am rusty with mex but with -largeArrayDims, _mxGetDimensions_ returns size_t results. See MATLAB docs for _mwSiz...

circa 10 anni ago | 0

Answered

Labels on figures fail to display in a deployed Matlab application

Have you tried one of Java's virtual fonts e.g. 'Serif' or 'SansSerif"? Those should work cross-platform

Labels on figures fail to display in a deployed Matlab application

Have you tried one of Java's virtual fonts e.g. 'Serif' or 'SansSerif"? Those should work cross-platform

circa 10 anni ago | 0

Answered

Experiences with release 2012b

For those that want it, here's a quick way to add custom functions to the tool strip using a JToolbar. Improvements welcome (and...

Experiences with release 2012b

For those that want it, here's a quick way to add custom functions to the tool strip using a JToolbar. Improvements welcome (and...

circa 10 anni ago | 1

Answered

Experiences with release 2012b

Why has the menu system survived for so long in so many software packages? Because it is a triumph of design and function. File-...

Experiences with release 2012b

Why has the menu system survived for so long in so many software packages? Because it is a triumph of design and function. File-...

circa 10 anni ago | 22

| accepted

Answered

MATLAB as Java IDE

It would probably be better to use NetBeans and co. for the development, compiling etc. But you can usefully use MATLAB as an in...

MATLAB as Java IDE

It would probably be better to use NetBeans and co. for the development, compiling etc. But you can usefully use MATLAB as an in...

circa 10 anni ago | 0

Answered

How to use Database Toolbox to write double data type to Oracle database BINARY_DOUBLE data type?

java.lang.Double is a Java 'boxed' type. Could use the IEEE binary value in your code?. That is returned by the doubleValue() me...

How to use Database Toolbox to write double data type to Oracle database BINARY_DOUBLE data type?

java.lang.Double is a Java 'boxed' type. Could use the IEEE binary value in your code?. That is returned by the doubleValue() me...

circa 10 anni ago | 0

Answered

GPU parallel computing

The NVidia card needs a "Compute Capability" of 1.3 or higher (supports IEEE double precision) for the Parallel Computing Toolbo...

GPU parallel computing

The NVidia card needs a "Compute Capability" of 1.3 or higher (supports IEEE double precision) for the Parallel Computing Toolbo...

circa 10 anni ago | 3

Answered

jchooser embeded in GUI - obtain status of buttons and change to save type

@Robin Replace 'disp(''Action'')' with a callback function callback(hObj,evt) ... end Within the callback, evt....

jchooser embeded in GUI - obtain status of buttons and change to save type

@Robin Replace 'disp(''Action'')' with a callback function callback(hObj,evt) ... end Within the callback, evt....

circa 10 anni ago | 1

| accepted

Answered

What is missing from MATLAB?

For related comments courtesy of Fritz Lang (/Jamie Alexandre) see "Scientists of the World Unite" <http://www.youtube.com/wa...

What is missing from MATLAB?

For related comments courtesy of Fritz Lang (/Jamie Alexandre) see "Scientists of the World Unite" <http://www.youtube.com/wa...

circa 10 anni ago | 0

Answered

Adding callbacks to JFileChooser in embedded GUI

You could install callbacks to log the state of the buttons in MATLAB so these would be available after you click 'Open' and ret...

Adding callbacks to JFileChooser in embedded GUI

You could install callbacks to log the state of the buttons in MATLAB so these would be available after you click 'Open' and ret...

circa 10 anni ago | 0

| accepted

Answered

Can't import Java library jdde in MATLAB

JavaDDEx64 looks like a shared library/dll which cannot be found. You need to add it to the library path. A quick way, if you ha...

Can't import Java library jdde in MATLAB

JavaDDEx64 looks like a shared library/dll which cannot be found. You need to add it to the library path. A quick way, if you ha...

circa 10 anni ago | 1

| accepted

Answered

Trying to use JOGL in Matlab

MATLAB ships with JOGL 1.1.1 on the static javaclasspath. I'm rusty, but recollect javax.media.opengl.GLProfile is JOGL2. To u...

Trying to use JOGL in Matlab

MATLAB ships with JOGL 1.1.1 on the static javaclasspath. I'm rusty, but recollect javax.media.opengl.GLProfile is JOGL2. To u...

circa 10 anni ago | 0

| accepted

Answered

MatLab have memory leaks?

It looks like a mex-file is accessing MATLAB workspace memory but you are indexing using a pointer outside of the bounds of the...

MatLab have memory leaks?

It looks like a mex-file is accessing MATLAB workspace memory but you are indexing using a pointer outside of the bounds of the...

circa 10 anni ago | 2

Answered

Object Oriented Programming question: creating child objects and sum one property of all children and the parent

You could try something like this: classdef myClass < hgsetget properties ParentObject=[]; ...

Object Oriented Programming question: creating child objects and sum one property of all children and the parent

You could try something like this: classdef myClass < hgsetget properties ParentObject=[]; ...

circa 10 anni ago | 0

| accepted

Answered

please help , how to solve this error code

Use {} to access the cell contents not () as in the lines above with B{k}

please help , how to solve this error code

Use {} to access the cell contents not () as in the lines above with B{k}

circa 10 anni ago | 0

| accepted

Question

Groovy programming in MATLAB

Groovy ( <http://groovy.codehaus.org/> ) is a modern JVM-based programming language that can be used easily within MATLAB if ...

circa 10 anni ago | 1 answer | 0

Answered

Using Timer in startup.m

STARTUP.m called from MATLABRC.m MATLAB *during* startup. Any code specified with -r gets called *after* startup. Not all comman...

Using Timer in startup.m

STARTUP.m called from MATLABRC.m MATLAB *during* startup. Any code specified with -r gets called *after* startup. Not all comman...

circa 10 anni ago | 2