how to create a matrix in embedded matlab function

3 ビュー (過去 30 日間)
Daniel
Daniel 2013 年 12 月 2 日
編集済み: Daniel 2013 年 12 月 2 日
I try to fill a matrix in Embedded Matlab Function in simulink with values from 10 to 200, where X(i+1)=X(i)+10.
X(1)=10 X(2)=20 ... X(N)=200
Looks like a simple thing to do, but in Matlab 7 formula start:stride:end as well as a for-loop doesn't work. I can only use this version of Matlab. Anybody can help?

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by