Hello, I am trying to code a program where the background changes color about every minute. In this expression:
background = backgrounds{mod(Bg_state,numel(backgrounds)}+1);
the number of beginning and end parenthesis and curly brackets are the same. Does this have something to do with bracket syntax? Thank you for your help.
Best Answer