Matlab toolboxをsimulinkで使えますか?

2 views (last 30 days)
SHromaneko
SHromaneko on 15 May 2023
Answered: Toshinobu Shintai on 15 May 2023
MatlabtoolboxのCurve fitting toolboxですが、simulinkのmatlab function内で使えますか?
curvefitting toolboxのfit関数で作った3Dフィッティングの変数をMatlabfuctionで使おうとするとエラーになってしまいます。
matlab code↓
surffit = fit([x,y],z,"poly23",'normalize','on'));
simulink

Answers (1)

Toshinobu Shintai
Toshinobu Shintai on 15 May 2023
Simulinkでは、基本的にはコード生成に対応したMATLAB関数しか使えませんが、「coder.extrinsic」を使うとコード生成を抑止できるため、全てのコマンドが使えるようになります。

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!