开发者

legacy code matlab/simulink

开发者 https://www.devze.com 2023-02-04 07:23 出处:网络
What is the meaning of legacy-code in Matlab/Simulink? In the context开发者_开发技巧 of using s-function, c code?By \"legacy code\", they mean code written before the Simulink model for another purpos

What is the meaning of legacy-code in Matlab/Simulink? In the context开发者_开发技巧 of using s-function, c code?


By "legacy code", they mean code written before the Simulink model for another purpose and then without using the S-function API. The Legacy Code Tool generate for you the S-function code calling you own old code.


The Legacy code is like a Handwritten Code for any application. You convert that Legacy code to a System Function( S-Function) so as to convert a Legacy Code to a Model. The conversion of existing Legacy Code to a Matlab Simulink Module is referred as Reverse Engineering.

The S-function not only helps in modeling the function but also in Testing the application as matlab provides a very good testing support.

0

精彩评论

暂无评论...
验证码 换一张
取 消