Protected element error
- To: mathgroup at smc.vnet.net
- Subject: [mg17229] Protected element error
- From: Kristen Rounds <krounds at accessone.com>
- Date: Mon, 26 Apr 1999 02:00:14 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Early in my program I define a 4x4 matrix: A1x:=M.b1x.Transpose[M]; Later I wish to allow the user to modify a matrix element: If[StringMatchQ[terma,"a33",IgnoreCase->True], "A"<>sur<>"x"[1,1]=Input["New a33 x value"]]; I am getting this error when I try to use the new A1x matrix: SetDelayed::write: Tag StringJoin in A<>1<>x is Protected. I tried to use Unprotect[A1x]; prior to the new input, but that doesn't seem to make a difference. Please explain this error, and if there is a way to avoid it. Thanks. Kristen