diff --git a/VERSION b/VERSION index 5ca234cb538117d188296311c2d9abaf364c847c..387c46fdec89e3cb2d1358c93270eeeeec85d13f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -345 \ No newline at end of file +346 \ No newline at end of file diff --git a/lib/+artoa/+soundsources/+colorregister/create.m b/lib/+artoa/+soundsources/+colorregister/create.m index 3e33b8f1251a95b414915d29051e230dd56bad0e..1d7f3603781f1a4884d08a055cd75ed2f5c63636 100644 --- a/lib/+artoa/+soundsources/+colorregister/create.m +++ b/lib/+artoa/+soundsources/+colorregister/create.m @@ -1,7 +1,13 @@ -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