Rank: 1771 based on 82 downloads (last 30 days) and 2 files submitted
photo

Hassan Lahdili

E-mail
Company/University
Communications Research Centre (CRC), Ottawa. Canada

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Hassan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
19 Jun 2009 Screenshot StructBrowser StructBrowser, GUI for browsing any structure (or nested structures) and plotting its fields. Author: Hassan Lahdili structures, cell arrays, browse, utilities, browse structure 33 6
  • 4.75
4.8 | 9 ratings
14 Aug 2007 Screenshot explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili structures, cell arrays, utilities, explore structures 49 22
  • 3.82353
3.8 | 18 ratings
Comments and Ratings on Hassan's Files View all
Updated File Comment by Comments Rating
09 Oct 2014 explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili Fabrice

Does not work with latest Matlab/Java versions

13 Feb 2014 explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili Lennart

does not work any more

08 May 2013 explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili Bliss, Andrew

Looks like some updates are in order. I'm getting the following warnings and error using version 2011a. I don't have time today to troubleshoot.

Warning: This undocumented function will be replaced in a future release.
To continue to use it, add 'v0' as its first argument, followed by its normal calling sequence.
> In uitreenode at 73
In explorestruct at 29
Warning: This undocumented function will be replaced in a future release.
To continue to use it, add 'v0' as its first argument, followed by its normal calling sequence.
> In uitree at 106
In explorestruct at 30
Warning: Possible deprecated use of set on a Java object with an HG Property 'UserData'.
> In explorestruct at 37
Warning: Possible deprecated use of get on a Java object with an HG Property 'UserData'.
> In explorestruct at 71
Warning: Possible deprecated use of set on a Java object with an HG Property 'ActionPerformedCallback'.
> In explorestruct at 73
Warning: Possible deprecated use of set on a Java object with an HG Property 'ActionPerformedCallback'.
> In explorestruct at 75
Warning: Possible deprecated use of set on a Java object with an HG Property 'ActionPerformedCallback'.
> In explorestruct at 77
??? There is no 'UIContextMenu' property in the 'com.mathworks.hg.peer.UITreeNode' class.

Error in ==> explorestruct at 83
set(root,'UIContextMenu', cmenu);

12 Oct 2010 explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili Tscherrig, Patrice

Hassan,

Extremely nice tool!
There is a tiny bug in the subfunction getcNodevalue.
Replace
d = findstr(field,'(');
and
idx = str2num(field(d+1));

with
d = findstr(field,'(');
d_e = findstr(field,')');
idx = str2num(field(d+1:d_e-1));

as else the structure will not correctly refresh for structures >(9*1).

Best regards,
Patrice

23 Sep 2009 explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili Queffurust, Aurelien

It also works in R2009a when you modify the lines 28 to 31
You have to add a first argument 'v0' to line 83 as mentionned Martin Römpert ... but also for EACH line with uitreenode . It will prevent warnings in a standalone mode (MATLAB Compiler). These warnings tell you to add v0 to continue to use this undocumnted feature (uitreenode). I made this modification and now there is no warning at all when I expand my nodes.

Contact us