global variables
- From: "Robin Northcott" <robin_northcott@xxxxxxxxxxxx>
- Date: Fri, 15 Sep 2006 08:40:45 -0400
I have a script that uses global variables to pass information
between functions. I noticed some problems so I started looking at
the debugger and noticed that the first time these variables are
declared (global .....)they are created with values. I think this is
causing my problems, but I don't know why it is happening or how to
stop it.
This is the first reference to these variables, they do not already
exist in the work space. I don't want to use them as function
arguments, it is much more conveniant for me to have them as global.
Also can anyone explain what the difference is between effective and
persistant variables? should I be using persistant variables.
The most frustratibng thing is that this part of the script only
started giving me problems today, I have been working on this for
over a week and don't understand what I did that created this problem.
.
- Prev by Date: Re: please recommend a book for simulink
- Next by Date: global variables
- Previous by thread: How to change tick font size in Figure?
- Next by thread: global variables
- Index(es):
Relevant Pages
|