How to access PCHIP function in simulink

3 ビュー (過去 30 日間)
Peter
Peter 2014 年 3 月 8 日
回答済み: Peter 2014 年 3 月 8 日
Hello everyone,
I'd really like to be able to use the pchip function on some data within the simulink environment, however it is unsupported within the embedded function block and so I get an error along the lines of:
The function 'pchip' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.
Is there another way that I can get access to this function?
Best Regards
Pete

採用された回答

Peter
Peter 2014 年 3 月 8 日
Please ignore, I figured out that I need to call the code extrinsically within the embedded function, i.e:
coder.extrinsic('pchip')
Thanks
Pete

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by