This is where navigation should be.

BLOCKPANEL - Control panel

Usage

blockpanel(params)

Input parameters

params Cell-array of parameters specifications.

Output parameters

p Control panel Java object

Description

blockpanel(params) creates a Java object containing GUI for changing parameters during the playback. params should be a cell-array, whose elements are another cell array of the following format:

{'var','label',minVal,maxVal,defVal,valCount}

Example:

params = {
{'G','Gain',-20,20,0,21} }

The function takes in the additional optional arguments:

'location',location: Window initial position. location
has to be 2 element row vector [x,y] defining distance from the top-left corner of the screen.