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

Multiple assignment 1.0

  Date Added: June 01, 2013  |  Visits: 436

Multiple assignment

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



The function arg2vars serves for assigning of values from input argument(s) to variables declared in the output list in the place ofthe function calling. Not assigned output variables are empty, while superfluous arguments are cut to a number of output variables. Number of allocated items is a minimum out of number of input arguments and number of output variables. SYNTAX:[var1,...,varn] = arg2vars(x)% x A single input argument. It can be a vector or a matrix of consistent elements, or a cell array of items. Elements of matrices will be stored columnwise.% [var1,...] List of names of output parameters. If length of the list were greater than the number of items in x, superfluous variables become empty. In turn, only such a number of argument items is used to fill all variables in the list. No errors or warnings are displayed.[var1,...,varn] = arg2vars(x1,...,xm)% x1,...,xm list of arguments (scalars, matrices, arrays, texts, etc.)EXAMPLES:[a,b,c,d,e,f] = arg2vars(-1.234, 'abcde', [1,exp(1),pi], 1:5, eye(3))% a = -1.2340% b = abcde% c = 1.0000 2.7183 3.1416% d = 1 2 3 4 5% e = 1 0 0% 0 1 0% 0 0 1% f = [][a,b,c,d] = arg2vars({'ABC','DEFG','HIJK'})% a=A, b=B, c=C, d=D, e=E, f=F[a,b,c] = arg2vars({{'ABC'},{'DEFG'}})% a = [{1x1 cell}, {1x1 cell}]% b = [], c = []% a{:}(2) = 'DEFG', a{:}{2} = DEFG[a,b,c] = arg2vars({{'ABC'}},{{'DEFG'}})% a = {1x1 cell}, a{:} = 'ABC'% b = {1x1 cell}, b{:} = 'DEFG'% c = [][a,b,c] = arg2vars(zeros(1,5),pi,{{'a','bcd','e'}},0);% a = 0 0 0 0 0% b = 3.1415926...% c{:} = 'a' 'bcd' 'e'[E,b,c,sfa,efa,na,Ka,Nc,sc,w,ec,Nb,t,sigv,DL,D,Nz,ssq,flag,figh] = arg2vars({repmat([],1,30)});% Defines all variables empty

Requirements: No special requirements
Platforms: Matlab
Keyword: 039a039 Abcde Arg Vars Arg Varsx Arrays Displayedvar Varn Errors Etcexamplesabcdef Exp Greater Length Parameters Scalars Texts Warnings
Users rating: 0/10

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


MULTIPLE ASSIGNMENT RELATED
Libraries  -  OptionsManager 1.0
Manages Java application/tool options. Options are mapped to Java Bean properties using annotations. Options can be loaded from command line arg String[] array, an XML file, or a java properties file. Help texts can be generated.
734.67 KB  
Database Tools  -  Crutch MySQLd 1.0
This PHP script implements a MySQL database access wrapper. It can be used to connect and perform several queries on a MySQL database.Here are some key features of "Crutch MySQL":- Connect to a given MySQL database server host- Execute arbitrary...
10 KB  
Database Tools  -  mysql_driver 1.0
mysql_driver aims at simplifying the execution of common types of SQL queries and database access tasks.Key Features of mysql_driver:- Establish connections to a MySQL database server- Setup transactions- Executing SQL queries checking first if...
10 KB  
Libraries  -  Argv 1.19
Argv is a Perl module that provides an OO interface to an arg vector. SYNOPSIS use Argv; # A roundabout way of getting perls version. my $pl = Argv->new(qw(perl -v)); $pl->exec; # Run /bin/cat, showing how to provide "predigested"...
44.03 KB  
Libraries  -  ex::constant::vars 0.01
ex::constant::vars is a Perl pragma to create readonly variables. SYNOPSIS Using the tie() interface: use ex::constant::vars; tie my $pi, ex::constant::vars, 4 * atan2( 1, 1 ); tie my @family, ex::constant::vars, qw( John Jane ); tie my...
4.1 KB  
Libraries  -  vars::global 0.0.1
vars::global is a Perl module that tries to make global variables a little safer. SYNOPSIS # In the place/package where we want to create globals use vars::global create => qw( $foo @bar %baz ); # Add some more global symbols...
7.17 KB  
Database Tools  -  PHP Database Access Through Arrays 0.7.0
PHP Database Access Through Arrays project can be used to access data stored in MySQL tables like accessing arrays. It uses SPL to implement several classes and iterators interfaces to access MySQL databases. Examples: $DB[test_table][] =...
 
Multimedia  -  Intersect Several Arrays Script 1.1
It uses the standard MATLAB "intersect" function, across several arrays and reports their intersection.
10 KB  
Libraries  -  Text::vFile::toXML 0.03
Text::vFile::toXML can convert vFiles into equivalent XML. SYNOPSIS This module converts iCalendar (iCal : generically, vFile) files into their (equivalent) XML (xCalendar / xCal) representation, according to Royers IETF Draft...
5.12 KB  
Libraries  -  Getopt::Helpful 0.04
Getopt::Helpful is an integrated option hash / help messages. STATE This module is still under development, but is being publish on CPAN to satisfy some code which depends on it. The interface may change in a future version and some of the...
11.26 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