MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: Protected element error

  • To: mathgroup at
  • Subject: [mg17278] RE: [mg17229] Protected element error
  • From: "Jean-Marie THOMAS" <jmthomas at>
  • Date: Fri, 30 Apr 1999 02:34:53 -0400
  • Sender: owner-wri-mathgroup at

Try this:
With[{ret=Input["new a33 value"]},m[[3,3]]=ret;TableForm at m]

Hope this helps,

Jean-Marie THOMAS
mailto:jmthomas at
Conseil et Audit en Ingenierie de Calcul
Strasbourg, France

-----Original Message-----
From: Kristen Rounds [mailto:krounds at]
To: mathgroup at
Subject: [mg17278] [mg17229] Protected element error

Early in my program I define a 4x4 matrix:


Later I wish to allow the user to modify a matrix element:

"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.


  • Prev by Date: Polar vector field plot
  • Next by Date: Problem with NDSolve
  • Previous by thread: Protected element error
  • Next by thread: Re: Protected element error