Enhancement for optional arguments: You can pass them conventional: mexfunc( 'myfunction', mandatory1, mandatory2, 'option1', value1, 'option2', value2 ); or by passing a config structure (like for optimizer settings): config = struct; config.option1 = value1; config.option2 = value2; mexfunc( 'myfunction', mandatory1, mandatory2, config );
Enhancement for optional arguments:
You can pass them conventional: mexfunc( 'myfunction', mandatory1, mandatory2, 'option1', value1, 'option2', value2 );
or by passing a config structure (like for optimizer settings):
config = struct;
config.option1 = value1;
config.option2 = value2;
mexfunc( 'myfunction', mandatory1, mandatory2, config );

peteflorence/mexplus,peteflorence/mexplus,peteflorence/mexplus