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: global variables accessible in objects
Replies: 1   Last Post: Aug 25, 2010 3:56 PM

Advanced Search

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

Posts: 56
From: London
Registered: 10/18/08
global variables accessible in objects
Posted: Aug 24, 2010 11:19 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I'd like an array x to be accessible in an object n without having to
pass it on as a parameter. Is there any way I can define a variable as
global or any other 'elegant' solution to avoid having to change all
the functions that are calling the object method which needs to access
array x?


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.