Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Mathimatics-Numerical algorithms Algorithm
Title: optionchoose Download
 Description: check the input option , output the value of option style Usage: och=optionchoose(oi,ostyle,|[restrain_error],|[ -case ]) when design functions, string option is apt to read and operate oi is one option of character, you can write in short only when this option distinguish other options ostyle means all possible options, it can be strings or string cell restrain_error =0 by default setting. if equal other, mean program will not interrupt, but return-1. restrain>=2, return possible option (when no match option), when 2, display option mesg. Notice: uppercase and lowercase of oi(ostyle) seemed same, not to distinguish, only when -case , then distinguish UPPERCASE and lowercase of characters och is numeric opposite to ostyle order, if not in ostyle, return-1 For example: i=optionchoose( pos ,{ position , potential , pocket }) i=1 See also STRCMP, STRNCMP, STRMATCH
 Downloaders recently: [More information of uploader zhoudg]
 To Search:
File list (Check if you may need any files):
 

optionchoose.m
    

CodeBus www.codebus.net