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

loadOptions 1.0

  Date Added: August 08, 2013  |  Visits: 397

loadOptions

Report Broken Link
Printer Friendly Version


Product Homepage
Download (40 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
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 :...
 
Development Tools  -  Copernic Desktop Search functions for Matlab 1.0
Copernic Desktop Search is a popular free desktop search tool that searches Microsoft Word, Excel, and PowerPoint files, Acrobat PDFs, Outlook emails, and all popular music, picture and video formats. Copernic can also search your browser history,...
10 KB  
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...
 
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  
Science  -  QCF 1.0
QCF is a toolbox of Quantum Computing Functions for Matlab and Octave. It is based on the syntax of Nielsen & Chuang's book 'Quantum Computing and Quantum Information'. It includes simulations of the Grover and Deutsch algorithms and a pdf tutorial.
64.9 KB  
Communication  -  STL_Import: IMPORT FUNCTION FOR STL FILES 1.0
STL_Import is a tool designed to import into MATLAB both binary and ASCII STL files.This script is mainly a collage between file exchange file id 22409 and 3642, plus some other features that can be considered new.SYNOPSIS: mode 1 (default)...
10 KB  
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  -  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  -  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