-
Category : Algorithm
Tags :
- Update : 2013-01-23
- Size : 1kb
- Downloaded :0次
- Author :zho***
- About :
Nobody
- PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
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
Packet file list
(Preview for download)
optionchoose.m
Related instructions
- We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
- The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
- Please use Winrar for decompression tools
- If download fail, Try it againg or Feedback to us.
- If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
- Before downloading, you can inquire through the uploaded person information