我是靠谱客的博主 彩色小甜瓜,这篇文章主要介绍matlab simout,每日学习Matlab(2),现在分享给大家,希望可以做个参考。

1.simulink里matlab function模块的output width是用来定义输出矩阵的大小。

2.>>

plot(tout,simout(:,2),tout,simout(:,3))

Warning: Using a default value of 0.2 for maximum step

size. The simulation step size will be equal to

or less than this value. You can disable this

diagnostic by setting 'Automatic solver parameter selection'

diagnostic to 'none' in the Diagnostics page of the configuration

parameters dialog.

这是因为Configuration Parameter里Max step

size设为auto或者0.2。之所以为0.2是因为图形轴或示波器时间轴为10s,默认采样点为50,0.2=(10-0)/50

。Max step

size 一定要小于等于0.2,该值越小绘制的图形越平滑,但计算量越大

3.消除该警告

Warning: Using a default value of 0.2 for maximum step

size. The simulation

step size will be equal to or less than this

value. You can disable this

diagnostic by setting 'Automatic solver parame

最后

以上就是彩色小甜瓜最近收集整理的关于matlab simout,每日学习Matlab(2)的全部内容,更多相关matlab内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(101)

评论列表共有 0 条评论

立即
投稿
返回
顶部