Generate a C/C++ code from Interpreted MATLAB Function block in simulink

Hello All, I am new in Simulink and getting confused about the possibility of generating a C/C++ code from Interpreted MATLAB Function block(which cal a .m function)! I want through furums and I think it is not possible for R2011a, I tried with a simple example but it doesn't works (Do might I am doing somethings wrong in configuration panel !). And how about R2010b?
Any help will be appreciated, Thank you for your help ---

1 Comment

I would suspect that if it is possible, it would require both Simulink Coder and MATLAB Coder, both of which are expensive products.

Sign in to comment.

 Accepted Answer

You cannot generate code from an Interpreted MATLAB Function block (in any release). You need to use the (Embedded) MATLAB Function block instead.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!