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.872.794 Times

loadOptions 1.0

  Date Added: August 08, 2013  |  Visits: 198

loadOptions

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



Often one desires to write a function that takes a large number of optional arguments. One way to do this is to allow for an arbitrary number of option name-value pairs in the function argument:function r = f(a,b,c,name1,value1,...)This method has the advantages of:1) Allowing those using the function to specify options without needing to check the position of the option in a long list of arguments.2) Allowing for options to have default values that need not be specified each function call.3) Eliminates the need to deal with empty values passed for unspecified options.loadOptions is an easy-to-use function designed to aide in writing functions taking option name/value pairs. It converts the list of name/value pairs into an easily usable options struct (a la optimset). It allows for option defaults.And, unlike typical MATLAB syntax, the user may specify data types for each option value, or leave data types untyped, or have some values typed and others untyped.Please see the help text / example for details on how to use loadOptions when writing a function.loadOptions was written and tested in R2007b, but it is rather basic and should work with any release that supports varargin and class().

Requirements: No special requirements
Platforms: Matlab
Keyword: Basic Converts Defaultsand Designed Easily Functions Leave Matlab Optimset Struct Syntax Taking Types Typical Unlike Untyped Usable Writing
Users rating: 0/10

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


LOADOPTIONS RELATED
Libraries  -  matGeom 1.1.2
matGeom is designed to be a Matlab library for geometric computing. Using the functions included in matGeom, you are able to create, transform, manipulate and display geometric primitives (points, lines, polygons, planes, etc.). Typical...
 
Scientific and Engineering  -  Matlab GUI for Polhemus Digitizer 5.0
The package includes five versions, which are designed to work with MATLAB R14 on either Linux or Windows.InstallationRun the m-file with the main file name to start the GUI Key features "Matlab GUI for Polhemus Digitizer": - polgui_ver1_r14 :...
 
Communication  -  Fixed-point signal processing in M 1.0
Functions accompanying MATLAB News & Notes article "Fixed-point Signal Processing: Getting Started" by Darel A. Linebarger and Thomas A. Bryan, 2004. The functions include an FIR filter in M that can be run in fixed-point and floating-point.
10 KB  
Development Tools  -  MEX-file template for Project Builder 1.0
This MacOS X Project Builder template can be used to easily create a MATLAB MEX-file project. Source level debugging of the MEX-files is the primary benefit of using this template.
20.48 KB  
Multimedia & Graphics  -  StickFigure 6.0.2
StickFigure was specially designed as an accessible Matlab-based Graphical User Interface utility for plotting and animating data from C3D files. These are Vicon trials, containing motion captured coordinate data. The program is mainly intended...
 
Multimedia & Graphics  -  Metch 0.5.0
Metch, is specially designed as a handy Matlab / Octave-based mesh / volume registration toolbox. It provides straightforward functions to register point clouds (or surfaces) to a triangular/cubic surface mesh by calculating an optimal affine...
 
Development Tools  -  CUDA MEX 1.0
This small script modifies the files used by MATLAB to compile mex-functions within MATLAB so that CUDA is supported.Once the script setup_cuda_mex.m is run you can just compile CUDA mex files with the function cuda_mex.m.Only Win32 with Visual...
10 KB  
Education  -  Learning Chinese (Traditional) Basic 400 Words 1.0
Help you learn 400 most basic words rapidly through pictures, and voices. Functions: 1. Words are divided into different types (such as: clothes and fruits etc). 2. All words have corresponding pictures and voices....
7.7 MB  
Education  -  Learning English (British) Basic 400 Words 1.1
Help you learn 400 most basic words rapidly through pictures, and voices. Functions: 1. Words are divided into different types (such as: clothes and fruits etc). 2. All words have corresponding pictures and voices....
6.9 MB  
Education  -  Learning German Basic 400 Words 1.0
Help you learn 400 most basic words rapidly through pictures, and voices. Functions: 1. Words are divided into different types (such as: clothes and fruits etc). 2. All words have corresponding pictures and voices....
7.4 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 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  -  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  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB