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 ]
Nasser Abbasi

Posts: 5,675
Registered: 2/7/05
Re: Function in a struct field
Posted: Dec 21, 2012 8:32 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 12/21/2012 6:44 AM, kees de Kapper wrote:
> 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
>


"store functions in a struct"

http://www.mathworks.com.au/matlabcentral/newsreader/view_thread/324956






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.