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

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

Serving Software Downloads in 976 Categories, Downloaded 29.545.476 Times

Set default values 1.0

  Date Added: July 31, 2013  |  Visits: 181

Set default values

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



In order to set default values for variables, I find the start of my functions littered withif nargin < 1 || isempty(x) x = 1;endif nargin < 2 || isempty(y) y = 3;endetc.This is pretty ugly, so I've created a wrapper to prettify it. Honestly, it's so simple that I nearly didn't upload this, but it does make your functions cleaner. Now the above is transformed toSetDefaultValue(1, 'x', 1);SetDefaultValue(2, 'y', 3);Note that there are other ways to set defaults. Seehttp://blogs.mathworks.com/loren/2009/05/0...ction-defaults/

Requirements: No special requirements
Platforms: Matlab
Keyword: Cleaner Defaults Simple Transformed Upload
Users rating: 0/10

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


SET DEFAULT VALUES RELATED
Networking  -  File Upload Form Script 1.1
File Upload Form script creates a simple file upload form for your site.Features:- Limit file types available for upload- Maximum file size validation- Can rename file after upload to avoid URL guessing- Log of uploads can be saved in MySql...
10 KB  
Networking  -  File Upload Form for Scripts 1.0
File Upload Form script creates a simple file upload form for your site.Features:- Limit file types available for upload- Maximum file size validation- Can rename file after upload to avoid URL guessing- Log of uploads can be saved in MySql...
10 KB  
Networking  -  Simple Sugarsync Upload 1.0
This plugin lets you insert an upload form in a page, post or widget so visitors can upload files to your SugarSync account. No need to signup for a developer account.Installation Upload simple-sugarsync-upload to the /wp-content/plugins/...
112.64 KB  
Business  -  DropMeFTP 1. 6. 2000
DropMeFTP does one simple thing: Upload one or more files to your FTP-Server. Just set up the appropriate folder, enter FTP-Server, User and Password. You should also set the correct URL and subfolder where to download the uploaded file. DropM
409.6 KB  
Network & Internet  -  Poulda 0.9
Poulda is a simple file upload web service. It comes from a need I have to receive large files from friends and family who would not be bothered to use FTP or anything more complex than a web browser interface. Amongst its features are such...
92.16 KB  
Networking  -  Very Simple PhpFile Upload for Scripts 2.1.3
Very Simple Php File Upload script can show all of the files that you have uploaded though it or by ftp to a certain directory. It is very easy to customize it.The script is also easy to install and use and is compatible with all operating systems.
20.48 KB  
Database Tools  -  AGTC - CSV File Upload Script 1.0a
Upload your CVS converted MS Excel or Text files to your Mysql database very easily with this simple little script. You can use it independently or integrate into your existing script.Free to download for non commercial use. Visit our site for...
10 KB  
Networking  -  Personal Upload Manager for Scripts 0.1
Personal Upload Manager is a simple and elegant solution for file management on your website.It requires PHP and a modern web browser. No configuration! Works just after being uploaded. Single script plus optional skin. Uses ajax where possible.
40.96 KB  
Utilities  -  Toolbar Cleaner 1.0
Toolbar Cleaner us a speedy tool to get rid of unwanted toolbars. Toolbar Cleaner is simple, fast and totally free. Share this tool with your friend. We hope Toolbar Cleaner will prove useful to you and don't hesitate to send your feedback....
 
Networking  -  Advanced AdSense 1.1
A simple plugin to help make your Google AdSense Ads display better, more relevant ads.Installation : 1. Upload plugin-name.php to the /wp-content/plugins/ directory 2. Activate the plugin through the 'Plugins' menu in WordPress
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  -  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  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB