Skip to content

Commit

Permalink
Improve argument validation for sendPulse.
Browse files Browse the repository at this point in the history
  • Loading branch information
pablorcum committed Feb 20, 2024
1 parent 3f427cb commit fc85299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolbox/src/bossdevice.m
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ function configure_time_port_marker(obj, sequence)
function sendPulse(obj, port)
arguments
obj
port {mustBeScalarOrEmpty}
port {mustBeInteger,mustBeInRange(port,1,4)}
end

if obj.isRunning
Expand Down

0 comments on commit fc85299

Please sign in to comment.