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: error on using variables and matlab function within embedded func. simulink component
Replies: 5   Last Post: Mar 11, 2013 9:03 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Phil Goddard

Posts: 353
Registered: 1/27/12
Re: error on using variables and matlab function within embedded func. simulink component
Posted: Mar 11, 2013 9:03 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I don't have any direct experience with aviinfo or aviread within a MATLAB Fcn block but suspect that because they return objects, and you need to call the methods (i.e. functions) that manipulate those objects you'd need to define all the methods as being eml.extrinsic too.

Alternatively, you will most likely find it easier to write an m-code S-Function to do whatever you are trying to do.

Phil.



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.