Does Simulink HDL coder support MEX block?

1 view (last 30 days)
Hallo Everyone
I am looking for a list of blocks supported by the Simulink HDL coder, does the HDL coder support blocks generated by the MEX files?
What is the way to generate a Simulink block from an MEX file? do i need to use the Level-1 S function block for that?

Accepted Answer

Tim McBrayer
Tim McBrayer on 8 Aug 2016
No, HDL Coder does not support MEX blocks. For custom code you can use the MATLAB Function or MATLAB System blocks. Please note that there are documented restrictions on the MATLAB functions that may be called from custom code.

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!