Prev: Linear correlation
Next: line through a cylinder
From: Carmine on 8 Mar 2010 13:14 I have a big C program made by about ten files which are called by a main routine after loaded the inputs and I need to convert it as S-Function. I would like to know how the S-function is structured, in particular what is specified into the mdlOutputs section? How the external files are called by the S-function? Thank you!
From: Steven Lord on 8 Mar 2010 13:16 "Carmine " <c.allegorico(a)libera.it> wrote in message news:hn3eq0$p07$1(a)fred.mathworks.com... >I have a big C program made by about ten files which are called by a main >routine after loaded the inputs and I need to convert it as S-Function. I >would like to know how the S-function is structured, in particular what is >specified into the mdlOutputs section? How the external files are called by >the S-function? There's a chapter in the Simulink documentation that I believe will answer all your questions. http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/sfg/bsd99w_-1.html Note that the link I posted is from the most recent release's documentation -- if you're using an older version, look for the chapter titled "Developing S-Functions" (or something similar) in the documentation included in your installation. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
|
Pages: 1 Prev: Linear correlation Next: line through a cylinder |