FEATool Multiphysics  v1.17.0
Finite Element Analysis Toolbox
parseopt.m File Reference

Description

PARSEOPT Parse options.

[ GOT, VAL ] = PARSEOPT( COPTDEF, VARARGIN ) parses the property/value pairs in VARARGIN, and adds the default options in the second column of COPTDEF. The first column of COPTDEF contains strings of the field names. Returns the got/val structs.