Error in Port Widths or dimensions for NI USB 6363 when connected to simulink.
2 次查看(过去 30 天)
显示 更早的评论
Hi,
I have S-Function for MPC controller and I want to deploy it to the hardware in real time using NI DAQ USB 6363. My S-Functions run well in simulation when I connect it to plant model and the output of plant model at "mo" of s function/mpc controller. But after sucessful simulations I want to send output of controller to plant using Analog Output channel of daq board and also to received sensor signal at "mo" i connected analog input channel of usb 6363.
For Information:
My State Matrixes used in MPC controlle are A is 4x4, B = 4x1, C = 1x4
But when I run simulation in real time using stop time "inf" it gives me following error .
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!