Invalid in a function or current expression This is to avoid confusion between implied multiplication and function calls. Indirection string is not a valid variable nameĮither the previous calculation did not create Ans, or no previous calculation was entered.įor example, x(x+1) is invalid whereas, x*(x+1) is the correct syntax. It cannot contain a non-valued variable other than the variable of interest.įirst argument of solve or cSolve must be an equation or inequalityįor example, solve(3x^2-4,x) is invalid because the first argument is not an equation. The first argument of nSolve must be an equation in a single variable. For example, rand(0) is not valid.Įlse and ElseIf invalid outside of If.EndIf blockĮndTry is missing the matching Else statement For example, + is a dimension mismatch because the matrices contain a different number of elements.Īn argument must be in a specified domain. Two or more arguments must be of the same dimension. For example, if the list is stored in L1, then L1 is a dimension error because L1 only contains four elements.ĭimension Error. For example, the test If aa, where a is an undefined variable, will cause this error.įor example, solve(3x^2-4=0,x) | x5 would produce this error message because the constraint is separated by “or” instead of “and.”Ī list or matrix index is not valid. Generally, undefined variables cannot be compared.
Note: Some error conditions apply only to TI‑Nspire™ CAS products, and some apply only to TI‑Nspire™ products.
For an example of using errCode, See Example 2 under the Try command, here. User-defined programs and functions can examine errCode to determine the cause of an error.
#MATLAB R2015A ERROR USING VIEW INVALID INPUT ARGUMENTS CODE#
When an error occurs, its code is assigned to variable errCode. You are here: TI‑Nspire™ CAS/TI‑Nspire™ CX CAS Reference Guide > Error Codes and Messages Error Codes and Messages