Error in code, bracket perceiving as comment for some reason
If a run a following code i get a following comment: Line 17: A'(‘migh be missing a closing’)’. causing invalid syntax at end of line. Line 17 is Q_est = updateQ(…), and this warning also shows in line 18 and 19 too. Does anyone know what is the problem? Fere we cannot see it but if I run this code in Matlab the last bracket is shown in green and perceived as comment for some reason
for i = 1:numIterations
beta_est = updateBetaUsingCarterKohn(Y, X, alpha_est, beta_est, Q_est, R_est);
Q_est = updateQ(…)
R_est = updateR(…)
alpha_est = updateAlpha(…)
endIf a run a following code i get a following comment: Line 17: A'(‘migh be missing a closing’)’. causing invalid syntax at end of line. Line 17 is Q_est = updateQ(…), and this warning also shows in line 18 and 19 too. Does anyone know what is the problem? Fere we cannot see it but if I run this code in Matlab the last bracket is shown in green and perceived as comment for some reason
for i = 1:numIterations
beta_est = updateBetaUsingCarterKohn(Y, X, alpha_est, beta_est, Q_est, R_est);
Q_est = updateQ(…)
R_est = updateR(…)
alpha_est = updateAlpha(…)
end If a run a following code i get a following comment: Line 17: A'(‘migh be missing a closing’)’. causing invalid syntax at end of line. Line 17 is Q_est = updateQ(…), and this warning also shows in line 18 and 19 too. Does anyone know what is the problem? Fere we cannot see it but if I run this code in Matlab the last bracket is shown in green and perceived as comment for some reason
for i = 1:numIterations
beta_est = updateBetaUsingCarterKohn(Y, X, alpha_est, beta_est, Q_est, R_est);
Q_est = updateQ(…)
R_est = updateR(…)
alpha_est = updateAlpha(…)
end error, comment, code, help MATLAB Answers — New Questions