Simulink real-time model execution stops at 1st iteration randomly

2 次查看(过去 30 天)
Hello,
I am using Simulink Real-time for running a vehicle model with actuator inputs given through an ADC(NI PCI-6229). The states are sent over serial. When I build this model and download it to an i386 target it randomly fails to start and gets hung up on the 1st iteration. I have done the following to try to resolve the issue since i have not found any error code for the same:
  • Changed my MATLAB 2014a setup to a differnet PC.
  • Changed the target PC
  • Disconnected all connected hardware
  • Changed the SCB-68 connection block
  • cleaned all generated files and built the model again
The model runs when I bypass the Analog inputs with constants. The proves that there is some issue with the analog data acquisition block, but i may be horribly wrong. Has anybody come across this issue in the MATLAB 2014a pack?
Swaroop

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multicore Processor Targets 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by