image thumbnail

updated 1 year ago

combineOpt by Andrey Popov

Combine user provided option's structure with a default one (structures, cell arrays, function)

combineOpt(options,default_options)

image thumbnail

updated 2 years ago

setParameterDefault by Tobias Kienzler

Simple function to set the default value for an optional function argument if omitted or empty. (utility, default, inputs)

isParameterDefined(pname)

setParameterDefault(pname, defval, warn)

image thumbnail

updated 2 years ago

Text Menu Prompt by Sky Sartorius

Generate a list menu in the command window with default option and prompt user for a selection. (menu, ui, list)

txtmenu(HeaderPrompt,varargin)

image thumbnail

updated 3 years ago

Set default values by Richie Cotton

A very simple function that initialises a missing or empty value in the caller function. (inputs, utility, default)

SetDefaultValue(position, argName, defaultValue)

image thumbnail

updated 3 years ago

Default arguments by Ged Ridgway

Set missing/empty variable or field to given value (default, input processing, argument processing)

default(varargin)

image thumbnail

updated almost 4 years ago

Text input with default by Karl

Like Matlab's "input" function, but with a default that you can select by simply hitting Enter. (input, default, command line)

dinput(varargin)

image thumbnail

updated 4 years ago

inp.m by Miroslav Balda

The function inp.m serves for keyboard input supported by default value (input, default, keyboard)

inp(prompt,deflt,form,nsp)

image thumbnail

updated almost 9 years ago

SetDefaultProperties by Alex Kordik

Restores default properties. (annotation, customization, figure)

setdefaultproperties

image thumbnail

updated 9 years ago

get_non_default_value by Ohad Gal

Finds the fields (of a UI element) with the non-default values. (gui tools, example, default)

get_non_default_value( ui_handle )

Contact us