Search Comments and Ratings

go

Comments and Ratings

   
Date File Comment by Comment Rating
16 Jul 2009 Find and Replace Tool Find & Replace the signal names in Simulink & Stateflow Author: Shanmugam Kannappan Dalon, Thierry

P-code: bouh :-(

24 Jun 2009 Close all figures except those listed Close all figures except those listed by the user. Author: Karl Dalon, Thierry

Good idea!
I prefer to use 0 for gcf or 'last' option.
I've modified the function like this:
function cab(varargin)
% CAB close all but
% This function closes all figures currently open EXCEPT for
% those listed as arguments. 'cab' stands for 'close all but'.
%
% SYNTAX:
% CAB figure_handle1 figure_handle2 ... (command line syntax)
% CAB(figure_handle1, figure_handle2, ...)
% Use 0 for gcf. CAB 0 closes all figures except current one.
% CAB : same as close all
%
if nargin==0,
    close all;
    return
end

% all_figs = findall(0, 'type', 'figure'); % Uncomment this to include ALL windows, including those with hidden handles (e.g. GUIs)
all_figs = findobj(0, 'type', 'figure');

if iscellstr(varargin) % command line syntax
    figs2keep=cellfun(@str2double,varargin);
else
    figs2keep=[varargin{:}];
end
figs2keep(figs2keep==0)=gcf;
delete(setdiff(all_figs, figs2keep)

16 Jun 2009 textLoc Puts string onto the current axes with location similar to legend locations. Author: Ben Barrowes Dalon, Thierry

See also FX textbp for option "best location".

02 Jun 2009 Traveling Salesman Problem - Genetic Algorithm Finds a near-optimal solution to a TSP using a GA Author: Joseph Kirk Dalon, Thierry

How about making a TSP Toolbox with all your TSP contributions? (around 15)!

02 Jun 2009 optimize optimize (non)linear (in)equality constrained functions with FMINSEARCH Author: Rody Oldenhuis Dalon, Thierry

Hi!
looks GREAT!
could you add to the package the source for the testoptimize.m, please ?
 maybe add it as well as a demo alike TMW optimdemos.

15 May 2009 Zoom Functionality in MATLAB and Simulink Using Mouse Wheel Enable zoom in/out in MATLAB Command window, Simulink models, and Simulink dialogs using mouse wheel Author: Hamid Satarboroujeni Dalon, Thierry

The ML zoom in command window does not seem to work. (I use R14SP3). BTW it opens another command window.

14 May 2009 hostname.m Report the name of computer on which Matlab is currently running. Author: Phillip M. Feldman Dalon, Thierry

(For windows only?)
Be aware: the call to unix('hostname') or system('hostname') gives you an empty sign a the end. You need to DEBLANK it!

See example:
[status,name]= unix('hostname')

status =

     0

name =

RBGD0SGC

>> length(name)

ans =

     9

That is to my opinion the only benefit for such an easy wrapper function else.

29 Apr 2009 Stateflow Alignment Tool Stateflowalign is a simple GUI to align and modify graphical stateflow objects. Author: Sven Probst Dalon, Thierry

The idea of a stateflow alignment tool is good. Thanks for sharing this. I would update a version without dependence to gcfso (use ML standard sfgco) and put all subfunctions in main GUI file.
If you want to use the subfunctions, it would be nice if renamed to sf_cs and sf_al for example.
Else functionality seems to work good.

29 Apr 2009 Stateflow Alignment Tool Stateflowalign is a simple GUI to align and modify graphical stateflow objects. Author: Sven Probst Dalon, Thierry

29 Apr 2009 Align blocks tool This is a very useful tool to align blocks and distribute the distance between the blocks. Author: Tijil Thomas Dalon, Thierry

Hello Tijil
You could put a screenshot to illustrate the contribution.
Do you know as well the older FEX slalign: http://www.mathworks.com/matlabcentral/fileexchange/3943?
What it the advantage/ drawback of "your" contribution compared to it?

22 Apr 2009 Selecting multiple files Allows the user to open multiple files. Author: Rex Tenorio Dalon, Thierry

The 45 files limitation bug was corrected in ML release 2007b. See http://www.mathworks.com/support/bugreports/details.html?rp=258791.
You can use uigetfile with option 'MultiSelect', 'on' to select multiple files.

22 Apr 2009 uigetfile - limit of files which can be loaded How to improve number of files which can be loaded with uigetfile command Author: Mateusz Matysiak Dalon, Thierry

This is no real contribution. More a support question!
See answer at:
http://www.mathworks.com/support/bugreports/details.html?rp=258791

22 Apr 2009 Zoom Functionality in Simulink Using Mouse Wheel Enable zoom functionality in Simulink using mouse wheel Author: Hamid Satarboroujeni Dalon, Thierry

I prefer to use the CTRL version so I still have the default window scrolling functionality. Shift+Scroll for horizontal scrolling.

22 Apr 2009 Zoom Functionality in Simulink Using Mouse Wheel Enable zoom functionality in Simulink using mouse wheel Author: Hamid Satarboroujeni Dalon, Thierry

This a great functionality that should be implemented as standard feature in Simulink I think!

Maybe the author could explain how he implemeted it by delivering source code?

An other nice feature would be to have mouse gestures implemented:
for example Right-Mouse-Click+ move to Right=> move to the right.
Same for LMC+move to the left.

21 Apr 2009 Zoom Functionality in Simulink Using Mouse Wheel Enable zoom functionality in Simulink using mouse wheel Author: Hamid Satarboroujeni Dalon, Thierry

I've tried SimulinkZoom.exe on Matlab R14SP3: it works as advised.
To execute it copy the exe to your path.
I call then in my startup file:
prc='SimulinkZoom.exe';
system([which(prc) ' &']);

To the author: how do you call the exe with the option #singleinstance? I get a questdlg if the exe was already started and I recall it. I would like to avoid this but there is not help file that explains how to do use the option.

09 Feb 2009 plt An alternative to plot and plotyy optimized for data exploration Author: Paul Mennen Dalon, Thierry

Thank you Paul for the regular updates and specific user requests implementations :-) PLT is a great plot utility!

27 Nov 2008 Using java swing components in MATLAB A custom class that eases the use of java.awt and javax.swing components in MATLAB Author: Malcolm Lidierth Dalon, Thierry

I could not find any demo in the package.(jControldemo missing?)

25 Nov 2008 Comparing double precision numbers Two and a half minute video covers the tolerances in double precision numbers Author: Doug Hull Dalon, Thierry

The video contains not much more than the description.

See also function EPS.

25 Nov 2008 genpath_exclude Executes like genpath, but can ignore specified directories. Author: Jesse Hopkins Dalon, Thierry

I think regexp with option 'split' is quite new.=>This may not work with R14 or previous.
For optimization why don't you modify directly genpath to not go into excluded directories?

25 Nov 2008 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall Dalon, Thierry

Be aware: you are using assert function. This is not available in R14 or previous!
Moreover I am not sure if assert exit the function...

25 Nov 2008 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall Dalon, Thierry

it is not possible to change a rating in this new FX...sorry for the previous rating.
I think now it is a very useful file. Thanks for updating!
One last suggestion: I would consider a default ignore value possible in the script. For example, if no ignore input argument use ignore = {'.svn'}, editable by the user so that users can simply call your file without passing always an ignore option if they have a predilected default value.

25 Nov 2008 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall Dalon, Thierry

21 Nov 2008 Recursive addpath Recursively adds directories to MATLAB path, optionally ignores some Author: Anthony Kendall Dalon, Thierry

@Author: the idea of an ignore option is good.
Good would be if you could also directly pass through ignore filter like "all directories starting wih "@" or "#"". At the best would be generic wildcard expressions.
Small missing point:Your implementation does not allow to use addpath intrinsec option like -BEGIN and -END.
You removed some features from original Matlab GENPATH which make your version not optimized. (private and @ not ignored by default; your loop run also over all files!)
------
@Jesse: this can be done with a small correction in the code:
if ~any(strcmp(currDir(m).name,{'.','..',ignore{:}})) && currDir(m).isdir && ~strncmp(currDir(m).name,'@',1) && ~any(strcmp(currDir(m).name,{'private','.',,'..')) ...
(see also original GENPATH)

20 Nov 2008 EzyFit 2.30 A free curve fitting toolbox for Matlab Author: Frederic Moisy Dalon, Thierry

Janina and Nirvikar: do not put bad ratings only because you don't know how to use Matlab. At least read the documentation before, contact the author before or ask for support in the Newsgroup. Your rating is not fair!
To remove the menu from figures use>> efmenu off. To remove the Toolbox simply remove from Matlab path or entry in startup file if you used efmenu install.

To the author : to avoid function naming conflicts, it may be better to name all the functions in the Toolbox with a common prefix like 'ef'.

19 Nov 2008 depfun2 This function allows one to reduce to results of DEFUN through the use of a keyword. Author: Daniel Ennis Dalon, Thierry

Does not work on Windows.
What is the idea of this keyword?

19 Nov 2008 package This function creates a zip file consisting of a core m-file and the functions it depends upon. Author: Daniel Ennis Dalon, Thierry

Does not work on Windows without using of keyword (depfun2 makes an error).
Is this keyword option really useful? How do you use it?
You could remove commented depfun2 subfunction from file.
Filtering of matlab basic function would be nice.
Display of list of files in zip does not work nicely. Use disp(char(cellstr)) instead of a loop.
All in all I find FX exporttozip better.

19 Nov 2008 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 Dalon, Thierry

Comment on Tim Tam comment:
look at the option 'recursive' of mydepfun.
exporttoZip uses this option so you get all dependencies.

18 Nov 2008 plotstruct Plot a structure as tree. Author: Berthold Kaeferstein Dalon, Thierry

Better is FX explorestruct which uses a nice Java Tree.
Here output is a char.

04 Nov 2008 newm Create new m-file(s) with headers already there, or add headers to existing m-file(s) Author: Mike Koelemay Dalon, Thierry

See also FX newfcn.

 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com