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: Function in a struct field
Replies: 2   Last Post: Dec 23, 2012 2:40 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
kees de kapper

Posts: 73
Registered: 12/7/04
Function in a struct field
Posted: Dec 21, 2012 7:44 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi all,

I was wondering if it was possible to a function call in a struct field. For example, is the following possible?

DummyStruct.data = [array data];
DummyStruct.MyFunction(input variables);

It would be very handy to retrieve processed data from a single entry.

Thanks in advance.

Kind regards,
Kees



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.