block type "MATLABFcn": not yet supported by simulink coder

17 views (last 30 days)
I use interpreted matlab function in the simulink block.It works on pc when i try to run onTI 28379d launchpad pi it gives "Simulink coder error in block "model/Interpreted Matlab Function", block type "MATLABFcn": not yet supported by simulink coder". what is the problem here? how to solve this?

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 2 Dec 2019
Edited: Fangjun Jiang on 2 Dec 2019
Run this in your MATLAB version to bring up the document.
web(fullfile(docroot, 'simulink/ug/comparison-of-custom-block-functionality.html'))
Use "MATLAB Function" block. Avoid using "Interpreted MATLAB Function" block as it is not supported for code generation.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!