The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: how to access a value in a variable and send into a struct
Replies: 3   Last Post: Jan 2, 2013 10:02 AM

Advanced Search

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

Posts: 17
Registered: 7/24/12
how to access a value in a variable and send into a struct
Posted: Jan 1, 2013 6:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

i want access the value of a variable 'start', iam getting error as undefined variable or function 'start'
i have not defined ''start'' before this part of code,directly i am assigning value of i to the ''start'' variable
here is my code
for i=1:length(group)
if fg >= g(i);
if kg >= l(i);
if max h == h(i);
start = i

here cri=sem_de;

please tell me how to define a variable ''start'' in this code

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.