我想Simulink
为实时目标准备一个文件。在主Simulink
文件中,我有一个Model
参考块,我将其设置为在Accelerator
模式下运行。该Model
块还包含几个S-functions
. 该Model
文件还配置为使用固定步长求解器。
但是,我收到此错误:
Caused by:
Error using do_rt (line 410)
The noninlined S-function 'whatever/Model' in a referenced model is not allowed
to call macros that use the generic function in the SimStruct. To find such macros,
search for GenericFcn in simstruc.h
在为SIM
目标构建时。
Normal
如果我切换到块模式,一切都会很好Model
。
我应该如何解决这个问题?