You'd need to set a trigger profile:
W = BpodWavePlayer('COM3');
Load 3 waveforms with W.loadWaveform()
W.TriggerProfiles(1,🙂 = [1 2 3]; % Set trigger profile 1 = waverforms 1, 2 and 3 simultaneously
W.TriggerProfileEnable = 'On';
Now in MATLAB, you can trigger all 3 with:
You can also load a serial message and then trigger all 3 from the state machine output actions:
LoadSerialMessages(1, ['P' 0]); % Note: this previously said ['P' 1], see comment on thread below
(in AddState's output actions)
Also see trigger profiles here.
I hope this helps!