Rank: 3956 based on 29 downloads (last 30 days) and 2 files submitted
photo

B.

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by B. View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
09 Mar 2008 Structure outline Prints the hierarchy outline of a structure with optionally, field values. Author: B. structures, cell arrays, structure tree outlin... 18 13
  • 4.81818
4.8 | 12 ratings
27 Nov 2006 Setting block choice using mask parameters Example that shows how the blockchoice of a configurable subsystem can be set automatically using ma Author: B. simulink, configurable subsyste... 11 0
  • 4.5
4.5 | 2 ratings
Comments and Ratings by B. View all
Updated File Comments Rating
02 Nov 2008 vecInsert.m vecInsert(elemToInsert,position,vecIn) Insert elements into a vector at given positions Author: Michael Stachowsky

If I understand correctly, this function does nothing more than

x(pos) = values;

where x, pos and values are all vectors.

02 Nov 2008 Set Figure to Screen Useful for defining default figure locations on multiple monitors Author: Robert M. Flight

It does have help, although it does not contain an H1 line. An H1 line allows you to find your function with 'lookfor' when you have forgotten the exact function name.

The code has a weird order of execution making it harder to read. Furthermore, the M-lint brings up a number of improvements, some of them which are critical (use && instead of &)

02 Nov 2008 Exponential fit, without start-guess Fits 1) f=s1+s2*exp(-t/s3) or 2) f=s1+s2*exp(-t/s3)+s4*exp(-t/s5) to numerics, without startguess Author: Per Sundqvist

The help is a bit cryptic, making it difficult to understand. It does have a partial H1 line. It also has some argument checking. However, the code is incomprehensible and the few lines of comments do not help understanding it in any way.

02 Nov 2008 Dynamic Programming solver for The bridge crossing problem The bridge crossing problem is here modelled and solved as undiscounted Dynamic Programming problem. Author: Gianluca Dorini

I did not check if the file produces the right results, I only looked at the code.

The code does contain sufficient help and even an example. However, it does not have an H1 line meaning that you cannot use 'lookfor' to find the file in the future when you have forgotten the exact filename

It also does not contain any code to check if the input and output arguments are valid.

Furthermore, some code can be improved. Look at the suggestions of the M-lint checker and see if you can change the code.

Comments and Ratings on B. 's Files View all
Updated File Comment by Comments Rating
29 Oct 2014 Structure outline Prints the hierarchy outline of a structure with optionally, field values. Author: B. Chris

works fine, made a small addition

if nargin < 5 || isempty(fileName)

if (nargout < 1)
% write data to screen
for i = 1 : length(listStr)
disp(cell2mat(listStr(i, 1)));
end
end
...

and added listStr as an output so the calling function can get the structure text back rather than only printing it to the CommandWindow. Need this so I can dump the structure to a PPTX file.

14 Mar 2014 Structure outline Prints the hierarchy outline of a structure with optionally, field values. Author: B. Stefan

Great tool! I changed field(iFieldElement) to Field(iFieldElement) in line 294 to make it work for me (probably a typo).

31 May 2011 Structure outline Prints the hierarchy outline of a structure with optionally, field values. Author: B. Roger Parkyn

Worked for me.

20 Oct 2010 Setting block choice using mask parameters Example that shows how the blockchoice of a configurable subsystem can be set automatically using ma Author: B. Wei

19 Oct 2010 Structure outline Prints the hierarchy outline of a structure with optionally, field values. Author: B. Matt Brunner

Awesome! Exactly what I was looking for. Thank you.

Contact us