Download LiveLink for MATLAB User's Guide
Transcript
• solnum, specify the inner solution number for data evaluation. Inner solutions are generated for the following analysis types: time domain, frequency domain, eigenvalue, or stationary with continuation parameters. data = mphmin(model,<expr>,edim,'solnum',<solnum>); where <solnum> is an integer array corresponding to the inner solution index. You can also set the property solnum to 'end' to evaluate the expression for the last inner solution. By default the evaluation is done using the last inner solution. • outersolnum, specify the outer solution number for data evaluation. Outer solutions are generated with parametric sweeps. data = mphmin(model,<expr>,edim,'outersolnum',<outersolnum>); where <outersolnum> is a positive integer array corresponding to the outer solution index. The default setting uses the first outer solution for the data evaluation. • To evaluate the expression data at a specific time use the property t: data = mphmin(model,<expr>,edim,'t',<time>); where <time> is a double array. The default value corresponds to all the stored time steps. OUTPUT FORMAT The function mphmin also supports other output formats. To extract the unit of the evaluated expression, define an extra output variable [data,unit] = mphmin(model,<expr>,edim); with unit is a 1xN cell array where N is the number of expressions to evaluate. By default mphmin returns the results as a squeezed singleton. To get the full singleton set the squeeze property to off: data = mphmin(model,<expr>,edim,'squeeze','off'); Set the property matrix to off to return the data as a cell array instead of a double array. data = mphmin(model,<expr>,edim,'matrix','off'); 136 | C H A P T E R 4 : WO R K I N G W I T H M O D E L S