# TOMLAB  
# REGISTER (TOMLAB)
# LOGIN  
# myTOMLAB
TOMLAB LOGO

« Previous « Start » Next »

2  Using the Matlab Interface

The main routines in the two-layer design of the interface are shown in Table 2. Page and section references are given to detailed descriptions on how to use the routines.

The interface routines.
Function Description Section
penbmiTL  The layer two interface routine called by the TOMLAB  driver routine tomRun. This routine then calls penbmi.m, which in turn calls penbmi.dll. 3.1.2
penfeas_bmi  The layer two TOMLAB  interface routine that calls pen.m. Converts the input Prob format before calling penbmiQ.dll and converts back to the output Result structure. 3.1.1
pensdpTL  The layer two interface routine called by the TOMLAB  driver routine tomRun. This routine then calls pensdp.m, which in turn calls pensdp.dll. 3.2.2
penfeas_sdp  The layer two TOMLAB  interface routine that calls pen.m. Converts the input Prob format before calling pensdp.dll and converts back to the output Result structure. 3.2.1

The PENOPT control parameters are possible to set from Matlab .

They can be set as inputs to the interface routine penbmiTL for example and the others. The user sets fields in a structure called Prob.PENOPT. The following example shows how to set the maximum number of overall iterations.
Prob.PENOPT.ioptions(2)   = 200;    % Setting maximum number of iterations

« Previous « Start » Next »