Rank: 1770 based on 35 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 6 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 29 19
  • 4.0
4.0 | 17 ratings
Comments and Ratings on Hassan's Files View all
Updated File Comment by Comments Rating
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.

07 May 2009 explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili Ashby, Michael

So, with Tobias' fix (above), this is working nicely. Thanks to the author and to Tobias.

07 May 2009 explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili Ashby, Michael
07 May 2009 explorestruct MATLAB Utility for exploring structures and plotting its fields. Author: Hassan Lahdili Nüesch, Tobias

Got it for R2008b!

First, add 'v0' to the uitreenode and uitree commands. Second, pause the execution of the m-file after the uitree command by approx. 0.1 seconds (could depend on your computer). To this, replace the code from line 28 to 31 by

set(h, 'Name', fig_name);
root = uitreenode('v0', name, name, [], false);
tree = uitree('v0', 'Root', root, 'ExpandFcn', @myExpfcn4);
pause(0.1)
set(tree, 'Units', 'normalized', 'position', [0 0 0.35 1]);

Top Tags Applied by Hassan
cell arrays, structures, utilities, browse, explore structures
Files Tagged 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 6 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 29 19
  • 4.0
4.0 | 17 ratings

Contact us at files@mathworks.com