Can I run a feval function in Simulink Target for Automation Studio (B&R)?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
celia muñoz
am 22 Mai 2017
Beantwortet: David Ding
am 25 Mai 2017
Hi! I want to run a feval function in a function block in Simulink, using B&R target. Is it possible? Because I received this error: "The extrinsic function 'feval' is not available for standalone code generation. It must be eliminated for stand-alone code to be generated."
Edit: I want the output of the function to be the result of the feval. Thank you very much!
0 Kommentare
Akzeptierte Antwort
David Ding
am 25 Mai 2017
Hi Celia,
Unfortunately, this is not possible. The "feval" command is a front end function to MATLAB.
This is not supported as this would involve generating C code from a MATLAB function which calls MEX files. Since the MEX files are binaries, it is not possible to generate C code from a binary file.
Thanks,
David
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!