MATLAB ERROR

1. Failed to generate all binary outputs.

  该问题出现的原因是matlab路径或打开的文件路径中含有非法字符,需要修改相关路径。

2.Input port 1 of the specified subsystem block has constant sample time. Cannot convert subsystems with constant inputs to model reference.

  该问题表示matlab保护模型的输入不能是常量,具体解决方法为断开所有的输入,重新对模型引用进行保护,之后重新为保护后的模型进行输入赋值。或者是保持系统的输入,再次进行模型引用操作。

posted @ 2020-02-25 10:07  Frances_FKYM  阅读(589)  评论(0)    收藏  举报