well,i need to develop a motion control card driver in simulink,could you tell me what should do?
Show older comments
infact,wo have the function library of the control card and the library is a DLL file.but i do not know how to add it into the S-Function to build the block.Please help me.
Answers (1)
Kaustubha Govind
on 17 Feb 2012
1 vote
There is a tool called the Legacy Code Tool that can generate the S-function for your automatically. See Integrating Existing C Functions into Simulink Models with the Legacy Code Tool.
Categories
Find more on Embedded Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!