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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su Multicore Processor Targets in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by