simulink Corderで作ったーコードの中身を都度変えたい
Ältere Kommentare anzeigen
SimulinkCoderでcコード化して以下のHPの流れでexe化にしました。
exeも正常に動いたのですが、simulinkモデルではFrom WorkspaceでMATLAB変数からデータを読み取っています。
cコード化するとその時の変数内容が表記されてしまいます。
任意で毎回値を変えたい時はどのようにすればよいのでしょうか。
・モデルの入力は変数によって毎回変わる。
・cコードにすると(exe化)コード化にした時の変数の値が入り値を変えられない。
宜しくお願いします。
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Texas Instruments C2000 Processors finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!