Rank: 249 based on 394 downloads (last 30 days) and 20 files submitted
photo

Malcolm Wood

E-mail
Company/University
The MathWorks
Lat/Long
55.91838, -3.152583

Personal Profile:

Malcolm Wood is a member of The MathWorks' development team, and is based in Edinburgh, UK, working on Simulink. He was previously a member of The MathWorks' consultancy team.

Professional Interests:

 

Watch this Author's files

 

Files Posted by Malcolm View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Jul 2010 Assertion function A function similar to "assert" in C to assist in bug detection Author: Malcolm Wood test, testing, tests, assert, failure, regression 17 6
  • 3.75
3.8 | 5 ratings
06 Jul 2010 Screenshot Changing Window Titles Provides the ability to change the titles of all windows in the MATLAB process Author: Malcolm Wood gui tools, example, window, windows, title, titles 25 6
  • 3.0
3.0 | 3 ratings
25 Jun 2010 Screenshot Resizable MATLAB figures A simple mechanism for creating graphical user interfaces which resize tidily Author: Malcolm Wood gui tools, example, figure uicontrol resi... 25 2
  • 5.0
5.0 | 2 ratings
30 Apr 2010 Screenshot HGTable - functions for displaying tabular data in a MATLAB list control Uses a standard MATLAB listbox to display multiple columns of data Author: Malcolm Wood gui tools, example, list listbox table ta... 28 3
  • 4.0
4.0 | 2 ratings
30 Apr 2010 parseargs: Simplifies input processing for functions with multiple options For parsing function arguments supplied as name-value pairs, e.g. 'XLim',[0 10],'YLim',[0 100] Author: Malcolm Wood parse function argume... 40 5
  • 5.0
5.0 | 2 ratings
Comments and Ratings by Malcolm View all
Updated File Comments Rating
26 Jan 2010 find_in_models: Search the entire block diagram hierarchy A wrapper for find_system which searches inside model references Author: Malcolm Wood

You may have run into the bug I just fixed, where model references inside library links weren't followed.

17 Dec 2009 Changing Window Titles Provides the ability to change the titles of all windows in the MATLAB process Author: Malcolm Wood

Review

Comments and Ratings on Malcolm's Files View all
Updated File Comment by Comments Rating
09 Mar 2012 parseargs: Simplifies input processing for functions with multiple options For parsing function arguments supplied as name-value pairs, e.g. 'XLim',[0 10],'YLim',[0 100] Author: Malcolm Wood batman52

I am trying this, but it's not passing the argcheck of inputParser...

function [varargout] = struct2varargin(instruct)

fields = fieldnames (instruct);
values = struct2cell (instruct);

varargout = {};
% length(fields)
% length(values)

for idx =1:length(values)
varargout{2*idx-1} = char(fields{idx});
varargout{2*idx} = values{idx};
end

end

09 Mar 2012 parseargs: Simplifies input processing for functions with multiple options For parsing function arguments supplied as name-value pairs, e.g. 'XLim',[0 10],'YLim',[0 100] Author: Malcolm Wood batman52

Does it exist somewhere, the inverse function for this?

What I need to do is:

f_setstate('param1',p1val,'param2',p2val)
savestate = f_getstate();
f_setstate(struct2varargin(savestate))

Input parameters for f_setstate has to be pv pairs, because i am using inputParser to parse it.
At the same time, I like savestate being a structure, because it's easier to hanlde than pv pairs.

28 Nov 2011 exportToZip: Identifies the dependencies of an M-file and creates a ZIP file Files inside $matlabroot/toolbox are omitted, providing a useful way to package your work Author: Malcolm Wood Rossi, ingegnerisinasce

Simply great

13 Sep 2011 exportToZip: Identifies the dependencies of an M-file and creates a ZIP file Files inside $matlabroot/toolbox are omitted, providing a useful way to package your work Author: Malcolm Wood Völker, Michael

08 Sep 2011 HGTable - functions for displaying tabular data in a MATLAB list control Uses a standard MATLAB listbox to display multiple columns of data Author: Malcolm Wood Jamuna

Hgtable example does not display data in tabular format on linux
help?

Contact us