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