Error in Port Widths or dimensions for NI USB 6363 when connected to simulink.
1 view (last 30 days)
Show older comments
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 .
Answers (0)
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!