blockpanel(params)
params | Cell-array of parameters specifications. |
p | Control panel Java object |
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:
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.