How to create a structure inside a structure?

15 views (last 30 days)
I have to create a structure called rover that contains a structure called wheel assembly inside it. How do I go about doing this?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 29 Sep 2014
Example
a=struct('rover',struct('assembly',{1 2 3}))

More Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!