Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I am trying to solve a system of equations but I have 3 knowns. When I try to define the knowns, if I use a subscript, I get the error message:
"these units are not compatible"
or:
"the variable is undefined. Check that the label is set correctly."
I've defined variables and knowns with subscripts before and I don't know what I am doing wrong. Thanks for the help.
PS: This is a continuing post from an earlier problem and I keep on running into new and exciting problems 🙂
Solved! Go to Solution.
Hello @trip12345
The subscript that you have used is index operator.
For more information please click here
And for name definition we need to use literal subscript.You use literal subscripts for naming purposes only. The literal subscript works in math regions only and not in text regions.
You can find more information in help center kindly click here
So by using literal subscript you would not face the issue.
Thanks for the hotkey.
Hello @trip12345
The subscript that you have used is index operator.
For more information please click here
And for name definition we need to use literal subscript.You use literal subscripts for naming purposes only. The literal subscript works in math regions only and not in text regions.
You can find more information in help center kindly click here
So by using literal subscript you would not face the issue.
@VipulT Thank you very much for the simple answer. I knew I was doing something very easy and I thought there were shortcut keys to do subscript but I didn't realize I was identifying a index operator. Kudos.