Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Assign a value to a specific matrix location
Replies: 4   Last Post: Dec 6, 2012 10:02 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 17,945
Registered: 12/7/04
Re: Assign a value to a specific matrix location
Posted: Dec 6, 2012 10:02 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Matt " <mathieu.horsky@gmail.com> wrote in message
> Thank you for your message !
> I need to use assignin because I am using a GUI and therefore if I want
> the value entered in the GUI to be used in my script, I need to evalin
> then, and prior to that I need to assignin them in the workspace.
> Is there another way to do this ?

Yes. Don't fiddle with the base workspace; use some of the methods described
in the documentation to share information between functions in your GUI
(this should work both for callback functions and for "helper" functions.)
See the two "Data Management..." Concepts on this page:


Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum 1994-2015. All Rights Reserved.