Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

s-functions and rtw code generation: avoiding copy

Status
Not open for further replies.

jpeliz

Computer
Apr 9, 2009
1

Hi, all! I am having a go at s-functions and things are working nicely except for one aspect. For example, if my s-function takes as input the output of a huge "data store read" in rtw-generated code I can see the whole structure being copied onto some local/global variable which in turn serves as input to the C-side implementation. Does this necessarily happens to code generated from s-functions? How can one avoid that?

Thanks in advance for any pointers. Cheers,

Jorge.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor