How to create a block diagram that will increment a value?
4 ビュー (過去 30 日間)
古いコメントを表示
I am working on a cable robot simulation where I am required to increment a value which I'll use inside a matlab function block.
How can I form an incremental block diagram for the system that I have given below.
I want the k value to have increments in either plus 0.1 or negative 0.1![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/297038/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/297038/image.png)
0 件のコメント
採用された回答
Fangjun Jiang
2020 年 5 月 22 日
A counter block, multiplied by 0.1 or -0.1
2 件のコメント
Fangjun Jiang
2020 年 5 月 23 日
編集済み: Fangjun Jiang
2020 年 5 月 24 日
That means the counter is going to increase by 1 every 0.0001 second. How do you want the k value to increase, increase by 1 every 1 second? You can set the sample time of the counter block.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Simulink Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!