File Exchange - MATLAB Central (2024)

Subscribe

File Exchange - MATLAB Central (1)

Find Documentation, Examples and more on Argument Definitions in Help Center

File Exchange - MATLAB Central (2)

Find Answers to your Questions on Argument Definitions in MATLAB Answers

Process named Arguments

Version 1.5.0.0

by Alan Robinson

Easily add optional, named arguments to your functions, like this: f('var_name', value).

Community

610 Downloads

Updated

isfunction(FUN)

Version 3.2.0.0

by Jos (10584)

returns true for valid matlab functions (v3.2, apr 2018)

TF = ISFUNCTION(FUN) returns 1 if FUN is a valid matlab function, and 0 otherwise. Matlab functions can be strings or function handles. [TF, ID] = ISFUNCTION(FUN) also returns an identier ID. ID can

Community

529 Downloads

Updated

parseargs: Simplifies input processing for functions with multiple options

Version 1.2.0.1

by Malcolm Wood

For parsing function arguments supplied as name-value pairs, e.g. 'XLim',[0 10],'YLim',[0 100]

quick scripting), where robustness is of high importance. To this end, the function enforces some rules, partly to reduce the chance of mistakes by the caller, and partly to save the user from writing

Community

4.9K Downloads

Updated

farg: a pedestrian M-file parser showing all used functions' syntax

Version 1.8.0.0

by us

parses an M-file searching for functions and prints their exact, literal syntax

Community

4.6K Downloads

Updated

allcomb(varargin)

Version 4.2.0.0

by Jos (10584)

All combinations of input (v4.2, apr 2018)

ALLCOMB - All combinations B = ALLCOMB(A1,A2,A3,...,AN) returns all combinations of the elements in the arrays A1, A2, ..., and AN. B is P-by-N matrix, where P is the product of the

Community

25.1K Downloads

Updated

parse_pv_pairs

Version 1.0.0.0

by John D'Errico

Parsing property/value pairs for function input.

text field, left empty by defaultThe first argument to examplefun is one which will always be supplied in this example. function examplefun(dummyarg1,varargin) params.Viscosity = 1; params.Volume = 1

Community

4.7K Downloads

Updated

nchoose

Version 3.0

by Jos (10584)

all combinations of the elements of a set

first cell. For a vector of integers I, W = nchoose(S, I) returns only the sets indicated by the indices I. This might be useful for large sets. Examples: nchoose([2 4 6 8]) %

Community

3.5K Downloads

Updated

CounterInBase: Counting in arbitrary base

Version 1.1.0.0

by Petr Posik

Counter in arbitrary base with a convenient interface. The counter state can be saved to disc.

new counter with base 3 and resets its state to 0.c.next(), orc.next(1) Returns the state of the counter and increments it by 1.c.next(0) Returns the state of the counter and does not change its

Community

446 Downloads

Updated

easyparse

Version 1.7.0.0

by Jared

Easy-to-use interface for parsing function inputs in the form of parameter-value pairs.

Easy-to-use interface for converting parameter-value pairs into variables within a function. Unlike inputParser and other typical parameter-value parsers, easyparse is able to (and by default does

Community

508 Downloads

Updated

Non-wait detection of keyboard input (including MEX implementation)

Version 1.0.0.0

by Amanda

Returns last key pressed in command window without having to explicitly wait for input. M-file & MEX

, and whether Control, Alt and/or Shift was also entered.Warning : mexKbhit calls the matlab function kbhit. While CTRL+C doesn't interrupt MEX functions, it will interrupt matlab functions called by a

Community

2.1K Downloads

Updated

nchoose2

Version 3.2.0.1

by Jos (10584)

all combinations of two elements

Community

2.7K Downloads

Updated

STOPLOOP (v1.0, jun 2008)

Version 1.0.0.0

by Jos (10584)

Shows stop button to interrupt loops

) ; % display elapsed time end FS.Clear() ; % Clear up the box clear FS ; % this structure has no use anymoreVersion 1.0, jun 2008Inspired by several posts on the FEX on "how to

Community

5.2K Downloads

Updated

getkeywait

Version 3.0

by Jos (10584)

Wait a certain time for a single keypress

Community

6.8K Downloads

Updated

process_varargin

Version 1.3.0.0

by christie harper

utility to make setting and changing default values in a script easier

Community

221 Downloads

Updated

getkey

Version 2.1

by Jos (10584)

Get a keypress

Community

20.1K Downloads

Updated

nchoosecrit(S, FUN)

Version 2.0.0.0

by Jos (10584)

returns those subsets (= combinations of elements of a set) that fulfill a specific criterion

W = nchoosecrit(S, FUN) returns those combinations of one or more element of the set S (called a subset) that fulfill a specific criterion. This criterion is specified by the function FUN. FUN is a

Community

813 Downloads

Updated

easydefaults

Version 1.3.0.0

by Jared

Easy-to-use interface for supplying default values for function inputs.

Community

394 Downloads

Updated

KTHCOMBN

Version 1.1.0.0

by Jos (10584)

K-th combination(s) of elements

[7 31] , N = 3 , K = [7 4] M = kthcombn(V, N, K) % returns the 2-by-3 matrix: % -> 31 31 7 % 7 31 31 % being the 7th and 4th combination (out of 9) of 3

Community

281 Downloads

Updated

ArgUtils

Version 1.5.0.0

by Nezar

Argument parsing utilities

followed by keyword arguments (name-value pairs) in any order. Keywords are matched using MATLAB's string validator, so matching is case-insensitive and abbreviated keywords are acceptable as long as they

Community

194 Downloads

Updated

Parse function arguments

Version 1.0.0.0

by Aslak Grinsted

A useful tool for parsing function arguments like 'cellspacing',6,'monkey',1

, ... % fill the arg-struct with values entered by the user {'Holdaxis'}, ... %this argument has no value (flag-type) {'Spacing' {'sh','sv'}; 'Padding' {'pl','pr','pt','pb'}; 'Margin

Community

5.5K Downloads

Updated

choices

Version 1.0.0.0

by Qianwei

'choices' function for HOSA tool box

HOSA tool box's demo will call a function name choices. The choices function is not supported by my matlab (2011a). So I write one.Copy this file to one of your MATLEB search path to fix the 'choices

Community

320 Downloads

Updated

parseParameters

Version 1.3.0.0

by Jeffrey Chiou

Parameter name-value pair parsing - concise syntax, no assignin, and very fast.

yourFunction(...,'Y',2,'x',3); to change x and y. Note that it is case insensitive by default, and the user's order doesn't matter.

Community

118 Downloads

Updated

getarg

Version 1.0.0.0

by Ivar Eskerud Smith

Get named argument from varargin

removed, and the value.Example:out = doSomething( in, 'myOptionValue', 2 );function out = doSomething( in, varargin ) %get the value specified by 'myOptionValue', return default value of 3.14 of not

Community

1.5K Downloads

Updated

Check the number of arguments to a function

Version 1.0.0.0

by Richie Cotton

Prettify checking the number of arguments to a function.

stupidly simple function saves you typing, and prettifies your code by wrapping the above line into something more readable, namelyCheckNumberArgs(minargs, maxargs);

Community

356 Downloads

Updated

Pause / Resume

Version 1.0.0.0

by Roy Schestowitz

Pausing and resuming tasks.

Community

3K Downloads

Updated

matlab-validoozy

Version 1.0.2

by Andrew Janke

Additional validator functions for Matlab

Community

4 Downloads

Updated

SETARGS | Parse user-specified optional arguments (varargin) with default values

Version 2.0.0.0

by Bob Spunt

Assigning values (default vs. user) to optional arguments (varargin) in a function

matched by 'fontweight', 'Fontw', etc.). if a match is found, the user-specified value is then used in place of the default value. if no match is found or if multiple matches are found, SETARGS returns an

Community

349 Downloads

Updated

Overlap Add Windows

Version 1.4.0.0

by Speech Processing

This exercise verifies the windows sampling property is valid for a range of windows.

This exercise creates an L sample window of a user-specified window type (including rectangular, triangular, Hamming,modified Hamming, Hann, and Blackman). By overlap-adding shifted versions of the

Community

908 Downloads

Updated

getopt

Version 1.0.0

by Chi-Hang Lam

To be used in functions for parsing varargin (the list of input arguments of a variable length) and extracting a set of arguments and flags.

Community

72 Downloads

Updated

Overloading SIZE for Array-like User-Defined Objects

Version 1.2.0.0

by Matt J

A tool for OOP overloading of the size() method, imitating I/O conventions of MATLAB's native SIZE.

Community

358 Downloads

Updated

ParseVarArgIn

Version 1.0.0.0

by Michael Robbins

parses a parameter list. Given a set of property names, it assigns the appropriate values to variab

Community

2.1K Downloads

Updated

defaults.m

Version 1.0.0.0

by jl

Utility function to simplify setting default values for variables in functions.

Community

308 Downloads

Updated

loadOptions

Version 1.0.0.0

by Nathaniel Brahms

Tool for implementing option name/value pairs in function arguments

Community

922 Downloads

Updated

Delimit with text qualifier

Version 1.0.0.0

by fredikk

Parse text in respect of a text qualifier

Community

747 Downloads

Updated

setarg

Version 1.0.0.0

by Ivar Eskerud Smith

Set value for value/argument pair in varargin/cellstring. See also getarg, hasarg

Community

178 Downloads

Updated

sig

Version 1.2.0.0

by Peter O'Connor

method signatures for OOP

Community

550 Downloads

Updated

tiborsimon/simple-input-parser

Version 2.0.0.7

by Tibor Simon

Easy to use variable lenght input parameter parser mechanism with validation.

f L fs phi', 2, 440, 0.8, 48e3, 45)ssin('AfLfsphi', 2, 440, 0.8, 48e3, 45)The previous function calls provides exactly the same result. The parsing is handled by the library, and you only need to use

Community

38 Downloads

Updated

signature

Version 1.0.0.0

by Peter Cotton

Parse function argument names from an mfile or anonymous function handle

Community

495 Downloads

Updated

Shake256

Version 1.0.2

by David Hill

Uses Advance Encryption Standard algorithm from FIBS-197

requested (d) in hexadecimal form. This code can be easily converted to Shake128 by adjusting the constant r=1344 in the SPONGE function. It has been tested on many input streams and provides the expected

Community

57 Downloads

Updated

Nargin Complete

Version 1.3.0.0

by Etienne Combrisson

Managed input arguments of Matlab functions.

Community

92 Downloads

Updated

AssignVarargin

Version 1.0.0.0

by Michael Robbins

it parses a parameter list. Given a set of variable names, it assigns the appropriate values to var

Community

1.8K Downloads

Updated

File Exchange - MATLAB Central (44)

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom(English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

File Exchange - MATLAB Central (2024)

References

Top Articles
Full Shield Parts Reference
Best Shields in Borderlands 2
Netr Aerial Viewer
Po Box 7250 Sioux Falls Sd
Wisconsin Women's Volleyball Team Leaked Pictures
Top Scorers Transfermarkt
Us 25 Yard Sale Map
Student Rating Of Teaching Umn
Jessica Renee Johnson Update 2023
More Apt To Complain Crossword
The fabulous trio of the Miller sisters
Alexandria Van Starrenburg
Viprow Golf
Inside the life of 17-year-old Charli D'Amelio, the most popular TikTok star in the world who now has her own TV show and clothing line
Walmart stores in 6 states no longer provide single-use bags at checkout: Which states are next?
Band Of Loyalty 5E
Unforeseen Drama: The Tower of Terror’s Mysterious Closure at Walt Disney World
Mail.zsthost Change Password
Kaitlyn Katsaros Forum
The Largest Banks - ​​How to Transfer Money With Only Card Number and CVV (2024)
Keci News
Bjerrum difference plots - Big Chemical Encyclopedia
Craigslist Pennsylvania Poconos
Lines Ac And Rs Can Best Be Described As
§ 855 BGB - Besitzdiener - Gesetze
Random Bibleizer
Costco Jobs San Diego
Ewg Eucerin
Airg Com Chat
031515 828
Nikki Catsouras: The Tragic Story Behind The Face And Body Images
Craigslist Scottsdale Arizona Cars
How Do Netspend Cards Work?
De beste uitvaartdiensten die goede rituele diensten aanbieden voor de laatste rituelen
Cruise Ships Archives
Bridger Park Community Garden
Closest 24 Hour Walmart
Tal 3L Zeus Replacement Lid
Empire Visionworks The Crossings Clifton Park Photos
دانلود سریال خاندان اژدها دیجی موویز
Los Garroberros Menu
How To Paint Dinos In Ark
Jail View Sumter
Telugu Moviez Wap Org
Live Delta Flight Status - FlightAware
Bob And Jeff's Monticello Fl
Hanco*ck County Ms Busted Newspaper
House For Sale On Trulia
F9 2385
Wera13X
Craigslist Charlestown Indiana
Ff14 Palebloom Kudzu Cloth
Latest Posts
Article information

Author: Pres. Carey Rath

Last Updated:

Views: 5604

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Pres. Carey Rath

Birthday: 1997-03-06

Address: 14955 Ledner Trail, East Rodrickfort, NE 85127-8369

Phone: +18682428114917

Job: National Technology Representative

Hobby: Sand art, Drama, Web surfing, Cycling, Brazilian jiu-jitsu, Leather crafting, Creative writing

Introduction: My name is Pres. Carey Rath, I am a faithful, funny, vast, joyous, lively, brave, glamorous person who loves writing and wants to share my knowledge and understanding with you.