Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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

回答(1 个)

ES
ES 2013-10-23
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 个评论
ahmed
ahmed 2014-9-4
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!

Translated by