p-code function
Ältere Kommentare anzeigen
I want to generate real-time code from a simulink model. The problem i am facing is this simulink block diagram has a embedded function which uses a 3rd party code in .p format. Is this feasible
Antworten (1)
Kaustubha Govind
am 7 Mär. 2012
3 Stimmen
It is possible to generate code from .p files as long as the author of that code specified the coder.allowpcode (previously called eml.allowpcode) directive in the corresponding MATLAB function (before pcode-ing it). You can either ask the author or try generating code from it yourself - you will see an appropriate error if the author did not enable code generation.
3 Kommentare
Sean de Wolski
am 7 Mär. 2012
Nice!
Srikanth
am 20 Mär. 2012
Daniel Shub
am 20 Mär. 2012
If the author of the pcoded file has not allowed you to use coder, than you cannot use coder. You need to contact the author of the pcoded file.
Kategorien
Mehr zu Texas Instruments C2000 Processors finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!