Embedded Coder でC関数を生成するには (How to generate the C function in the Embedded Coder?)
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Shouta Ogawa
il 26 Gen 2016
Risposto: Atsushi Matsumoto
il 15 Dic 2016
Embedded Coder でモデルからCコードを生成するとき、外部のC言語のmain関数から呼び出せるような関数として生成するにはどうすればいいのでしょうか? 制御モデルのアルゴリズムのみをコード化できれば良くて、余計な機能を生成する必要はありません。
When I generate the C code from the model in the Embedded Coder, What do I do if I want to be generated as a function, such as call from the main function of the outside of the C language? And well if I can encode only the algorithm of the controller model, I do not need to generate the extra function.
4 Commenti
Risposta accettata
Atsushi Matsumoto
il 15 Dic 2016
サブシステムを右クリックして、Cコード/[このサブシステムをビルド]をクリックすると、サブシステムの処理内容が関数として生成されます。
コードの利用用途に応じて、コンフィギュレーションパラメータ/コード生成にあるシステムターゲットファイルの設定を行うこともお忘れなく。
0 Commenti
Più risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!