You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a =1;
x = linspace(0,4*pi,1000);
y =a.*sin(x);
plot(x,y);
The function ConnectButtonPushed calls splitCode which outputs a scalar string object called sweepVar. Because it is always a scalar string object, isempty(sweepVar) is never true, so the code assumes it found valid line of code and does not issue the expected warning.
The text was updated successfully, but these errors were encountered:
If I put my cursor on line 4 of this file:
The function
ConnectButtonPushed
callssplitCode
which outputs a scalar string object calledsweepVar
. Because it is always a scalar string object,isempty(sweepVar)
is never true, so the code assumes it found valid line of code and does not issue the expected warning.The text was updated successfully, but these errors were encountered: