Info

This question is closed. Reopen it to edit or answer.

Where the variables,methods and classes are declared in MATLAB.?

1 view (last 30 days)
Hi everyone
i m working in MATLAB for my Wireless Sensor Networks project.The protocols are LEACH,SEP. i have successfully run the code and it is giving output. but i dont know that where they have declared and defined the various variables, their methods and classes for ex S(i). E , S(i).TYPE , S(i).ENERGY etc. so plz anyone help me regarding this.Thanx in advance

Answers (1)

ES
ES on 23 Oct 2013
I am afraid, your question is a bit to vague to answer. Either attach the files or post lines of code. But if your script works, it means, it is defined or created in one of the associated m or p files. Start from the main function (i.e., the function you call to execute your script), go according to the control flow. You will find everything.
  1 Comment
ahmed
ahmed on 4 Sep 2014
i work in wsn too plz can u send the code to my mail and i will do my best to help you in this problem

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!