问题描述:仿真一个简单的y=-0.5x+2.4的函数
matlab2020
出现如下报错:
参考这篇文献操作后还是没有解决问题:
求大佬们提供解决方法,可参考上面的文献
Simulation
09:43 PM Elapsed: 8 sec
Build 2 1 1
09:43 PM Elapsed: 21 sec
Top Model Build 2 1
Elapsed: 9 sec
### Starting build procedure for: add
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: D:\V2X\car_man\test\add\test_add\add_ert_rtw
All blocks in block diagram 'add' are either virtual or have been removed by block reduction optimization or they are inactive variants, therefore there is nothing to simulate. Note, for code generation, block reduction optimization removes all diagram branches terminating in sink blocks that do not participate in code generation. For example, To Workspace blocks and potentially their sources are removed when the MAT-file logging is off.
Component:Simulink | Category:Block diagram warning
### Build procedure for add aborted due to an error.
Block 'add/Clock' uses continuous time, which is not supported with the current configuration.
Suggested Actions
Select Support continuous time
Fixed : Support continuous time has been selected.
网友评论