Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.134.364 Times

setPrompt - Set the Command Window prompt 1.0

  Date Added: May 07, 2013  |  Visits: 272

setPrompt - Set the Command Window prompt

Report Broken Link
Printer Friendly Version


Product Homepage
Download (39 downloads)



setPrompt(newPrompt) sets the Command Window prompt to the specified NEWPROMPT.NEWPROMPT can be one of the following: - a static string: setPrompt('>> ') => this is the default prompt string ('>> ') - an evaluable string: setPrompt('datestr(now)') => the new prompt will look like: '25-Jan-2010 01:00:51' Note: the evaluable string is expected to return a string - an evaluable function: setPrompt(@()(['[',datestr(now),'] '])) => the new prompt will look like: '[25-Jan-2010 01:00:51] ' Note: the evaluable function is expected to return a string - the static string 'timestamp' will continuously update the last (current) prompt with the current time: '[25-Jan-2010 01:00:51] '. This has the effect of displaying desktop command execution times. The 'timestamp' string can be used with other static text to customize its appearance. For example: setPrompt(' '). - an empty value or no input argument restores the default prompt Examples: setPrompt('[-]') % Replaces '>> ' prompt with '[-]' setPrompt('%') % => '% ' (space-padded) setPrompt('sprintf('''',now)') % => '' setPrompt('datestr(now)') % => '25-Jan-2010 01:00:51' (unchanging) setPrompt('[''['',datestr(now),''] '']') % => '[25-Jan-2010 01:00:51] ' setPrompt(@()(['[',datestr(now),'] '])) % => '[25-Jan-2010 01:00:51] ' (note that these are the same: the first uses an evaluable string, while the second uses an evaluable function) setPrompt('timestamp') % => '[25-Jan-2010 01:00:51] ' (continuously-updated) setPrompt(' ') % => ' ' (continuously-updated) setPrompt('>> ') % restores the default prompt setPrompt('') % restores the default prompt setPrompt % restores the default prompt Warning: This code heavily relies on undocumented and unsupported Matlab functionality. It works on Matlab 7+, but use at your own risk! Technical explanation: A technical explanation of the code in this utility can be found on http://undocumentedmatlab.com/blog/setprom...desktop-prompt/ Bugs and suggestions: Please send to Yair Altman (altmany at gmail dot com)

Requirements: No special requirements
Platforms: Matlab
Keyword: Argument Continuouslyupdated Setpromptsprintfnow Setprompttimestamp Unchanging Warning
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


SETPROMPT - SET THE COMMAND WINDOW PROMPT RELATED
Miscellaneous  -  Automatic argument type conversion 1.3
This decorator can be used to cast argument types automatically, using a pre-specified list of types, when a function is called.
 
Development Tools  -  GAA Argument Analyser 1.0
GAA Argument Analyser allows you to analyze the arguments given to a program from the command line. You must create a configuration file in GAA language, and GAA will provide you .c and .h files to manage arguments.
 
Networking  -  Shockingly Big IE6 Warning 1.6.3
The Shockingly Big IE6 Warning is a plugin that shows a warning message alerting the user why it is bad to use IE6, the security risk and the bad compatibility of Web Standards.You can choose from 3 types of warning: * TOP, a discreet top bar *...
10 KB  
Modules  -  Views nids argument 5.x-1.x-de
Allows you to specify an array of nids as a view argument.
10 KB  
Modules  -  Argument Picker API 6.x-1.x-de
Argument Picker is a simple API to access and elaborate arguments in a flexible way.Basically it allows, given URL arguments like:example.com/myview/make:Volkswagen/model:Polo/year:2008/to retrieve one of those arguments through a...
10 KB  
Programming  -  GAA Argument Analyzer 1.6.6
The GAA Argument Analyser helps programmers to analyze the arguments given to their program from the command line.
233.76 KB  
Modules  -  New Attribute Manager 5.0
On using this contribution I was getting the following error when clicking on the "Edit Attributes" button for a particular product:Warning: Missing argument 3 for checkattribute() in [...]admin/new_attributes_functions.php on line 3On comparing...
 
Miscellaneous  -  Type checked argument lists with decorators 1.0
This script shows you to use the new decorator feature of python 2.4 to systematically check the argument types for type-sensitive functions.
 
Networking  -  WP Warning 1.0
This plugin is very usefull if you want warn people going to one category.It set cookie, co visitor will see alert message only once.For example you have a magazine and in one category you have adult content. With this plugin you can set up...
10 KB  
Modules  -  Administrator Warning 6.x-1.0
This is a simple module which allows you to show site administrators a configurable warning message above most forms on the site, reminding them that they are logged in to the live site as administrators, not regular users.It can be used to help...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB