Pregunta

¿Cuál es el significado del legado de código en Matlab / Simulink? En el contexto del uso de s-función, el código c?

¿Fue útil?

Solución

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.

Otros consejos

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top