MATLAB2019:
-
scope波形显示界面问题:
simulink的scope模块将波形显示界面显示区域平均分割为N各子显示区域
解决方法:双击进入scope,右键选择configuration properties,选择main菜单下Number of input ports后边的Layout进行分割。 -
divide模块:运算是默认第一个值为1,然后依次进行运算
-
设置模型解算器固定采样周期:ctrl+e调出configuration parameters->solver->solve selection(type修改为fixed-step)->solver details中的fixed-step size下修改
-
模块采样时间:双击在sample time参数下进行修改
-
relational operator模块:满足运算关系输出1,不满足运算关系输出0.
-
Simulink显示所有模块的名字:右键选中要显示的模块->format->show block name->on
-
Simulink颜色表示采样时间的不同:空白处右键->sample time display->colors