MATLAB时间序列神经网络训练好后如何调用?

我用MATLAB神经网络工具箱训练了带一个x输入的时间序列神经网络。
训练好后保存net,
随后使用y_pre=sim(net,x_pre)的格式想要预测新的数据
可是这时MATLAB提示我 Number of inputs does not match net.numInputs.
想知道时间序列的神经网络该用什么样的格式输入进行预测新数据?

你好同学,你可以尝试

y_pre=sim(net,x_pre')

有帮助望采纳,谢谢啦