Convert structure data into object

Hi, I'm working with large structured data in such a format: CarTest1.RoadName.RideName.SpecificWheel.MeasurmentName.data in which number of roads, rides and measurement are usually more than one. Also along with data there are about 20 more fieldnames.
Now i've been told to change the code (which reads these data from text files and store it in such a structure and makes few different plots) to OO code (and i'm totaly new to this). My quetion is if this many layered structure can be changed into objects?

댓글 수: 1

per isakson
per isakson 2012년 5월 20일
What might be the intention behind telling you?

댓글을 달려면 로그인하십시오.

답변 (1개)

Daniel Shub
Daniel Shub 2012년 5월 21일

0 개 추천

Yes.

댓글 수: 2

Ali
Ali 2012년 5월 21일
how? my problem is that with a class definition, i can only make first layer of this structure. How can be the next layers defined?
Daniel Shub
Daniel Shub 2012년 5월 22일
You should edit your QUESTION to include a simplified class definition so we can see what you are doing. DO NOT post the code as a comment or a new answer.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Structures에 대해 자세히 알아보기

질문:

Ali
2012년 5월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by