Rank: 1730 based on 70 downloads (last 30 days) and 3 files submitted
Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Paul View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
31 Jan 2011 Screenshot Add Simulink Blocks from a given Model File with context menu Customizes Simulink context menu with all blocks from a model file custom_context_menu_blocks.mdl. Author: Paul simulink, context menu, sl_customization, custom menu, model, add block 22 2
  • 5.0
5.0 | 2 ratings
13 Jul 2010 Screenshot Figure to Simulink subsystem mask icon converter Creates a mask icon for a Simulink subsystem from a given figure. Author: Paul mask, simulink, subsystem, figure, convert, conversion 10 3
  • 4.5
4.5 | 3 ratings
29 Jun 2010 Screenshot Text progress bar This function creates a TEXT progress bar in your command window. Author: Paul progress bar, waitbar, progress text, progress 38 11
  • 4.85714
4.9 | 7 ratings
Comments and Ratings on Paul's Files View all
Updated File Comment by Comments Rating
24 Jun 2014 Text progress bar This function creates a TEXT progress bar in your command window. Author: Paul Pot

24 Mar 2014 Text progress bar This function creates a TEXT progress bar in your command window. Author: Paul Orloff, Nathan

superb

16 Jan 2014 Text progress bar This function creates a TEXT progress bar in your command window. Author: Paul Kellen

Of course now that I've posted that, the forum doesn't actually allow more than a single space. They DO line up in real life...

16 Jan 2014 Text progress bar This function creates a TEXT progress bar in your command window. Author: Paul Kellen

Works well.
The only improvements I would suggest is the addition of some parameter to make all the progress bars line up:

strSpaceRight = '%-25s';
...
% Progress bar - initialization
c = sprintf(strSpaceRight,c);
fprintf('%s',c);

Doing so allows the user to change the string size by changing the number (currently 25), and has the result of aligning all of the progress bars:

Loading velocity file 100% [..........] Done!
Gridding x/y 100% [..........] Done!
Compute zeta 100% [..........] Done!

I have also added a tab character to the termination to move the termination statement over a little.

12 Dec 2013 Text progress bar This function creates a TEXT progress bar in your command window. Author: Paul tasdemir, kasim

Hi,

I use 'dispstat' function just for this purpose. It can update the previous output which is a missing function of default 'disp'. Very simple to use. It can be downloaded from here:

http://www.mathworks.com/matlabcentral/fileexchange/44673

***Sample usage:
dispstat('','init'); % One time only initialization
dispstat(sprintf('Begining the process...'),'keepthis','timestamp');
for i = 97:100
dispstat(sprintf('Progress %d%%',i),'timestamp');
%doing some heavy stuff here
end
dispstat('Finished.','keepprev');

***Output:
11:25:37 Begining the process...
11:25:37 Progress 100%
Finished.

All the best

Contact us