Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

Topic: structure array in mex file
Replies: 4   Last Post: Aug 28, 2013 11:02 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Toan Cao

Posts: 52
Registered: 10/15/10
structure array in mex file
Posted: Aug 27, 2013 4:44 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,
I am writing a mex file where one of inputs is structure array. The structure array is a 1xN array in which each element is a structure and each structure has M fields.
In mex file, i want to know number of elements (N) of this structure array. Which function should i use ?
If i would like to access a field of each element , what should i do ?
Can you give me some suggestions? An detailed explanation will be appreciated!!!
I am looking forward to your reply!
Thanks in advance!

Toan



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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.