The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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: 55
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

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!


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.