フィルターのクリア

The lookup method: Linear_Extrap is not supported for code generation.

6 ビュー (過去 30 日間)
Rohit Pandey
Rohit Pandey 2019 年 3 月 1 日
回答済み: Shivam Gupta 2019 年 3 月 4 日
Hi,
I am trying to auto-code my model. But while auto-coding i am getting below error:
Error: "The lookup method: Linear_Extrap is not supported for code generation".I am able to run my code. Not sure why it is not auto-coding (As it is a simulink library itself). Please help me with the answer or a work arounf for same.
Pls Note: I am using ert.tlc as my system target file.The block i am using is Look-up Table Dynamic and the lookup method is Interpolation-Exterpolation.
Thanks,
Rohit Pandey.

回答 (1 件)

Shivam Gupta
Shivam Gupta 2019 年 3 月 4 日
To workaround this issue, you can use INTERP1 function with the 'extrapolate' option.
For more information, see:
https://in.mathworks.com/help/simulink/ug/updating-your-model-to-use-current-lookup-table-blocks.html
For more Related MATLAB Answers see:

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by