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

13 次查看(过去 30 天)
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?

采纳的回答

Fangjun Jiang
Fangjun Jiang 2019-12-2
编辑:Fangjun Jiang 2019-12-2
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.

更多回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by