Red pound sign in a variable. Not sure what it means
4 views (last 30 days)
Show older comments
spencer ludington
on 25 Feb 2016
Commented: spencer ludington
on 18 Mar 2016
I was writing code in Matlab and rather than typing a 3 I accidently held shift and typed # in the variable name. It showed up as red text and it got me curious as to what this symbol does to a variable. ex variable name R#, where the pound sign was red
Accepted Answer
Star Strider
on 26 Feb 2016
The red symbol means that it’s an illegal character. The pound sign is not recognised as an operator.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!