MATLAB: Bugs in the new update

bugsMATLABsimulink

Hi,
I've been experiencing bugs in the 2016a update of Matlab. When I open and run a certain script, which worked fine in the previous edition, I keep getting errors that I'm using undeclared variables such as '%U23' and '%U440'. I keep adding code to clear these in the top, however, it just keeps adding these random variables every I open the program. Let me know if you have any suggestions on a solution to my problem!
Thanks in advance,
Isabelle

Best Answer

Error using Simulink.findVars Invalid variable name '%Ucd8'. Names must follow the same rules as MATLAB variable names
Error in UnusedVariables (line 20) unusedVars = Simulink.findVars('CompleteServo_x_System','FindUsedVars',false,'SourceType', 'base workspace');