BpodSystem_ProtocolFigures

BpodSystem.ProtocolFigures

Description

A struct for handles of figures that display online data.

  • Since BpodSystem is a global variable, the figure handles in this struct will be available in figure update functions and in the main protocol function.

  • All figures in BpodSystem.ProtocolFigures will automatically be closed when the protocol ends.

Example

% 1. This code initializes a new figure to display data, and adds its handle to BpodSystem.ProtocolFigures

BpodSystem.ProtocolFigures.MyPlotFig = figure('Position', [200 200 1000 200],'name','My Plots');