Obtaining Solution Information
Get the solution object information with the function mphsolinfo. Specify only the model object to obtain the information of the default solution object:
info = mphsolinfo(model)
This section includes information about Specifying the Solution Object and the Output Format.
The function mphsolinfo replaces the function mphgetp. If you are using the later you can now replace it as it will be removed in a future version.
Specifying the Solution Object
To retrieve the information of a specific solution object, set the soltag property with the solver tag soltag associated to the solution object:
info = mphsolinfo(model, 'soltag', <soltag>)
If there are several solution datasets attached to the solver, for example, solution datasets with different selections, specify the dataset to use to get the solution object information with the dataset property:
info = mphsolinfo(model, 'dataset', <dsettag>)
where dsettag the tag of the solution dataset to use.
Output Format
The output info is a MATLAB® structure. The default fields available in the structure are listed in the table:
To get the information about the number of solutions, set the property nu to on:
info = mphsolinfo(model, 'nu', 'on')
The info structure is added with the following fields:
The batch field is a structure including the following fields: