Matlab toolboxをsimulinkで使えますか?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MatlabtoolboxのCurve fitting toolboxですが、simulinkのmatlab function内で使えますか?
curvefitting toolboxのfit関数で作った3Dフィッティングの変数をMatlabfuctionで使おうとするとエラーになってしまいます。
matlab code↓
surffit = fit([x,y],z,"poly23",'normalize','on'));
simulink
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1384404/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1384409/image.png)
0 Kommentare
Antworten (1)
Toshinobu Shintai
am 15 Mai 2023
Simulinkでは、基本的にはコード生成に対応したMATLAB関数しか使えませんが、「coder.extrinsic」を使うとコード生成を抑止できるため、全てのコマンドが使えるようになります。
0 Kommentare
Siehe auch
Kategorien
Mehr zu コード生成 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!