Skip to content
Snippets Groups Projects
Verified Commit 4d0dd30b authored by leprob001's avatar leprob001
Browse files

feat: Added optional parameter to colorregister.create function

parent 5ca1094f
No related branches found
No related tags found
No related merge requests found
345
\ No newline at end of file
346
\ No newline at end of file
function [colorRegister] = create()
%CREATE Summary of this function goes here
% Detailed explanation goes here
function [colorRegister] = create(pState)
%CREATE Creates a new color register for the soundsources.
% Parameters:
% pState (optional): Cell of strings, containing the soundsource names that are
% already registered.
if nargin == 1
colorRegister = pState;
return;
end
colorRegister = {};
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment