Simulink をMatlabコードに変換したい
15 views (last 30 days)
Show older comments
大学で車両制御を学んでいる者です。
車両制御を最適化手法を用いて行いたいと考えています。その際にfor文を利用したいため、Simulinkで作成したモデルをMatlab functionに変換したいと考えています。
そこで、質問内容ですが、Simulinkでfor文を利用するブロックはあるのでしょうか。
また、for文の機能がなければ、
①Pulse Generatorブロック(出力パルス)と②Delayブロック(入力信号を指定されたサンプル数だけ遅延)のコード変換方法を教えていただきたいです。
よろしくお願いします。
Answers (0)
See Also
Categories
Find more on Simulink Function 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!