我在把buffer和s函数连接的过程中发生了如下的错误:
Cannot propagate frame-based signal from output port 1 of 'motor0117_c1/Buffer' to input port 1 of 'motor0117_c1/S-Function' because this input port expects a sample-based signal. Consider inserting an Unbuffer in the signal path.
我不能加unbuffer的,因为我想让s函数实现fft功能,所以必须用buffer把数据存起来