C code---> sfunction --> Xpc Target with legacy_code
Afficher commentaires plus anciens
Hi I'm trying to use the legacy code tool to create a s function from C code, that then can be loaded onto a target machine and ran.
I worked through the example on mathworks website:
I used the example to create an s function but then attempted to use the model wizard to compile the simulink model into my target machine but it comes up with the error :
S-function 'ex_sfun_doubleit' in 'untitled/ex_sfun_doubleit' specifies option SS_OPTION_SFUNCTION_INLINED_FOR_RTW however a 'ex_sfun_doubleit.tlc' file could not be located in the current working directory, the S-function directory 'C:\Users\HIL\Documents\MATLAB\LEGACY_TEST', or the directory 'C:\Users\HIL\Documents\MATLAB\LEGACY_TEST\tlc_c'
can some one explain ?
1 commentaire
Suneesh
le 22 Jan 2014
What is a "model wizard"?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Multicore Processor Targets dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!