Simulink Embeded Coderで作成されたdll内関数の戻り値設定の有効化について
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Simulink Embeded Coderによりdllを作成し、関数を利用したいと考えてます。
関数の戻り値がいつも"NONE"となってしまい、正しい出力が得られません。
モデルでは戻り値の部分をOUTPUT端子を配置していますが、これでは戻り値を得る事が出来ないようです。
戻り値を計算出力に設定する場合はどのような部品を配置すれば良いでしょうか?
下図は作成したモデルのサンプルとdll作成後レポートです。output端子が関数の引数に入ってしまいます。

0 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!