Rank: 447 based on 173 downloads (last 30 days) and 13 files submitted
photo

Malcolm Lidierth

E-mail
Company/University
King's College London

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Malcolm View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
09 Mar 2012 Screenshot Making MATLAB Swing More Import of Java Swing GUIs from Eclipse, NetBeans, IntelliJ etc Author: Malcolm Lidierth gui, eclipse, java, swing, netbeans, intellij 8 1
  • 5.0
5.0 | 1 rating
14 Feb 2012 Screenshot OpenGL 3D graphics in MATLAB using jzy3d - a demo A demo of some features of the open-source jzy3d 3d graphics package from http://www.jzy3d.org/ Author: Malcolm Lidierth opengl, java, swing, graphics 15 1
  • 4.0
4.0 | 2 ratings
21 Dec 2011 VVAR class: a fast "virtual" variable class for MATLAB. VVAR can be used to pre-allocate arrays much faster than using zeros Author: Malcolm Lidierth memmapfile, virtual memory 1 0
13 Nov 2011 Screenshot Project Waterloo File and Matrix Utilities Utilities for partial input/output from MATLAB MAT-files, HDF5-files and custom binary files. Author: Malcolm Lidierth path, directories, files, mat fread fwrite memm..., mat, fread 16 5
  • 5.0
5.0 | 1 rating
06 Oct 2011 Screenshot Using Java Swing components in MATLAB A custom class that eases the use of Java AWT and Swing components in MATLAB Author: Malcolm Lidierth swing, java, gui, undocumented 55 30
  • 4.7
4.7 | 11 ratings
Comments and Ratings by Malcolm View all
Updated File Comments Rating
19 Jan 2013 Making MATLAB Swing TabbedPanes, SplitPanes, SideBars, ScrollPanes etc for MATLAB Author: Malcolm Lidierth

@Doug

Many thanks. Looks like MATLAB is insisting on pass-by-value syntax in R2012b:
For backwards compatibility, I avoid [~], but your fix seems to work equally well with:

obj.hgcontainer=subsasgn(obj.hgcontainer, index, val);

Same problem could also arise at line 38. Change to:

obj.(index(1).subs)=subsasgn(obj.(index(1).subs), index(2:end), val);

FYI: Latest code for this is now in a GIT repo. See:

http://waterloo.sourceforge.net

Regards
Malcolm

22 Nov 2012 Making MATLAB Swing TabbedPanes, SplitPanes, SideBars, ScrollPanes etc for MATLAB Author: Malcolm Lidierth

An "alpha" version of Waterloo 1.1 is now available on SourceForge. This includes a new Java library for scientific graphics that can be called from Java, Groovy, Scala, MATLAB, the R statistical environment and SciLab.

For MATLAB, a MATLAB-like API is provider using custom MATLAB OOP wrappers.

For details and downloads see the new website at:

http://waterloo.sourceforge.net/

26 Oct 2012 Making MATLAB Swing TabbedPanes, SplitPanes, SideBars, ScrollPanes etc for MATLAB Author: Malcolm Lidierth

@ Aurelien

w=com.mathworks.mde.desk.MLDesktop.getInstance().getMainFrame().getWindows()

returns a list of Windows including those for GWait.

Call
w(N).dispose()
to close the relevant windows.

Note that releases system resources, but does not delete the reference as per Java docs. The window can be reconstructed with a call to show.

Accepted - I should make that easier.

Malcolm

17 Jul 2012 Making MATLAB Swing TabbedPanes, SplitPanes, SideBars, ScrollPanes etc for MATLAB Author: Malcolm Lidierth

An updated version (1.08) is on sourceforge with accumulated fixes.
This now includes the Swing, Swing "more" and file utilities in a single zip (for easy maintenance).

11 Jul 2012 Making MATLAB Swing TabbedPanes, SplitPanes, SideBars, ScrollPanes etc for MATLAB Author: Malcolm Lidierth

@Sebastian

I thought about this a bit more. The only problem I can see is in setting the visibility property for hgjavacomponents– everything else seems to work as intended. The problem is that GCardPane is generic – it has no “knowledge” of whether its contents are another GCardPane or a single layer uipanel. It manages OK regardless until undocumented components such as hgjavacomponents are added (which are not "seen" by all MATLAB search functions).

The quickest approach might be to create a couple of custom-subclasses: [1] of GTabContainer using [2] a GCardPane that “knows” the contents of the container. e.g by adding a new property (you could probably just use the appdata area but that would be less consistent with the overall design).
The outer tab pane would simply need to store a reference to the inner tabbed pane. Then overload setSelectedIndex for the outer card pane to look at the selection on the inner tab container before setting the visible properties to ‘on’ only for those hgjavacomponents that are children of the selected card in the inner container.
That would mean changing 1 method – setSelectedIndex - and adding support via a method (or the constructor) for the new property. Everything else would work (I think) so could just be inherited from the superclass. It should also allow nesting to arbitrary levels if you might need that later.

I think nested panels with undocumented features at the inner levels is probably stretching things a bit beyond what most users want - so I'll not put this on the TODO list.

Comments and Ratings on Malcolm's Files View all
Updated File Comment by Comments Rating
25 Apr 2013 filtfilthd Zero-phase forwards/backwards filtering using SP toolbox dfilt filter objects Author: Malcolm Lidierth Pandarinath, Chethan

Fantastic.

21 Mar 2013 filtfilthd Zero-phase forwards/backwards filtering using SP toolbox dfilt filter objects Author: Malcolm Lidierth Gregoire, Jerry

Great idea. Wondering why ML did not do this. Seems pretty obvious. Filter objects are much easier to work with. This should have been a no brainer for ML.
Thanks

14 Feb 2013 filtfilthd Zero-phase forwards/backwards filtering using SP toolbox dfilt filter objects Author: Malcolm Lidierth sathish

Very nice!!! thanks

21 Jan 2013 OpenGL 3D graphics in MATLAB using jzy3d - a demo A demo of some features of the open-source jzy3d 3d graphics package from http://www.jzy3d.org/ Author: Malcolm Lidierth chosan

Hi,

I'm trying to learn Waterloo and jzy3d for Matlab.

Do you have code for the demo .jar?
It would help a lot, thanks.

I've posted on the sf forum as well.

Ivan

19 Jan 2013 Making MATLAB Swing TabbedPanes, SplitPanes, SideBars, ScrollPanes etc for MATLAB Author: Malcolm Lidierth Lidierth, Malcolm

@Doug

Many thanks. Looks like MATLAB is insisting on pass-by-value syntax in R2012b:
For backwards compatibility, I avoid [~], but your fix seems to work equally well with:

obj.hgcontainer=subsasgn(obj.hgcontainer, index, val);

Same problem could also arise at line 38. Change to:

obj.(index(1).subs)=subsasgn(obj.(index(1).subs), index(2:end), val);

FYI: Latest code for this is now in a GIT repo. See:

http://waterloo.sourceforge.net

Regards
Malcolm

Top Tags Applied by Malcolm
gui, java, swing, graphics, dsp
Files Tagged by Malcolm View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
09 Mar 2012 Screenshot Making MATLAB Swing More Import of Java Swing GUIs from Eclipse, NetBeans, IntelliJ etc Author: Malcolm Lidierth gui, eclipse, java, swing, netbeans, intellij 8 1
  • 5.0
5.0 | 1 rating
14 Feb 2012 Screenshot OpenGL 3D graphics in MATLAB using jzy3d - a demo A demo of some features of the open-source jzy3d 3d graphics package from http://www.jzy3d.org/ Author: Malcolm Lidierth opengl, java, swing, graphics 15 1
  • 4.0
4.0 | 2 ratings
21 Dec 2011 VVAR class: a fast "virtual" variable class for MATLAB. VVAR can be used to pre-allocate arrays much faster than using zeros Author: Malcolm Lidierth memmapfile, virtual memory 1 0
13 Nov 2011 Screenshot Project Waterloo File and Matrix Utilities Utilities for partial input/output from MATLAB MAT-files, HDF5-files and custom binary files. Author: Malcolm Lidierth path, directories, files, mat fread fwrite memm..., mat, fread 16 5
  • 5.0
5.0 | 1 rating
06 Oct 2011 Screenshot Using Java Swing components in MATLAB A custom class that eases the use of Java AWT and Swing components in MATLAB Author: Malcolm Lidierth swing, java, gui, undocumented 55 30
  • 4.7
4.7 | 11 ratings

Contact us