Rank: 5377 based on 17 downloads (last 30 days) and 1 file submitted
photo

Joseph Burgel

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Joseph Burgel
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 May 2009 getfilenames.m Do a recursive search for files. Author: Joseph Burgel path, directories, files, dir, folder, filenames 17 10
  • 4.71429
4.7 | 7 ratings
Comments and Ratings by Joseph Burgel View all
Updated File Comments Rating
29 Mar 2012 Myblob Exchange blobs (binary large objects) with MySQL databases Author: Joerg Buchholz

Nice. I was wondering if anybody has tried to write to a BLOB not from a file but directly from a Matlab matrix variable? Say, a 5x5 double matrix? Skip writing to a .mat and reading back out of the file to save time?

19 Oct 2011 CreateGuid MEX MEX to create a Globally Unique Identifier GUID Author: Stephen Lienhard

Had some issues compiling this in Windows 7 an ML 2010a. After a little digging, I found:
x = java.util.UUID.randomUUID()
which worked fine for my purpose. Thanks.

07 Oct 2011 MATLAB xUnit Test Framework MATLAB xUnit is a unit test framework for MATLAB code. Author: Steve Eddins

Nice Tool. One question an maybe my philosophy is just wrong (new to TDD) but is there any way to have the code break on error if the code in a given test errors? (i.e. dbstop if error) Thanks,

13 Jul 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Ben,

Regarding July 1 post, I created a public property called "Locked" and wrapped the tab callback in TabPanel:

function iTabClicked( src, evt, obj, idx ) %#ok<INUSL>

if ~obj.Locked
% Call the user callback before selecting the tab
evt = struct( ...
'Source', obj, ...
'PreviousChild', obj.SelectedChild, ...
'SelectedChild', idx );
uiextras.callCallback( obj.Callback, obj, evt );
obj.SelectedChild = idx;
end

end % iTabClicked

Setting Locked to true will allow the user to do things on the active tab but will not allow the tab to change. I tried to subclass TabPanel and overload 'onChildAdded' and 'iTabClicked' to do this but couldn't get this to work because of these private properties:

properties( SetAccess = private, GetAccess = private, Hidden = true )
Images_ = struct()
TabImage_ = []
PageLabels = []
end % private propertie

Next rev, can you add the Locked feature or set these properties to 'protected'

Great package. Thanks.

01 Jul 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Ben,

I've got a tab panel where I'd like to implement a 'edit' mode on one of the tabs. The user should NOT be able to change the active tab until she comes out of 'edit' mode. So, during 'edit mode' the tab control should be disabled. The problem is, Enable property on the tab disables the tab kids as well so the user cannot do anything to child controls of the tab while in 'edit' mode. I'm not allowed to subsequently change Enable on kids either. I see in your code where to change this. Should I just subclass the TabPanel and implement what I describe. Your comments? Suggestions?

Comments and Ratings on Joseph Burgel's Files View all
Updated File Comment by Comments Rating
21 Dec 2010 getfilenames.m Do a recursive search for files. Author: Joseph Burgel Sami Kanderian

To make this code work for Matlab 2010b as well as other versions for both PC and Mac replace the lines 30 to 34:

if ispc
wildcard='*.*';
elseif ismac
wildcard='';
end

with:

wildcard='';

Now it will work with version 2010b

08 Sep 2010 getfilenames.m Do a recursive search for files. Author: Joseph Burgel K E

No longer works recursively on R2010b, even thought it does on R2010a. I am not sure why.

06 Jul 2010 getfilenames.m Do a recursive search for files. Author: Joseph Burgel K E

Useful. Wish Matlab had more builtins for file searching and management, since I write mfiles that have to be used by Windows users (no perl)

10 Jun 2010 getfilenames.m Do a recursive search for files. Author: Joseph Burgel Nitin

Works great... fast as well

25 Jun 2009 getfilenames.m Do a recursive search for files. Author: Joseph Burgel Marco

Does not work for linux, because it uses the function "ismac" instead of isunix.
Additionally, I do not see why the wildcard should be set to an empty string on a mac, a '*' would make more sense, right?

Why not use the Matlab-original function 'what'? At least for Matlab-related files, it gives you exactly what you want to do with getfilenames.

Contact us