Error in FIL simulation at the second time it's running
조회 수: 1 (최근 30일)
이전 댓글 표시
Once FIL simulation running, I encounted terminate simulation with "MEX S-function 'filsfun',(mdlOutput) error at time 0.0"
at the second time it's running. It even occured without changing Simulink model.
Also diagnosis viewer showed "Warning: A FIL protocol error has occurred: Expected a status packet." before stop simulation.
I am working that with MATLAB R2019a.
After Error with stop simulation the FIL simulation works with downloading FPGA data file to FPGA board.
But also the error occured at the second time it's runnning.
Is there any way to recover/re-establish the Ethernet FIL protocol communication setting?
댓글 수: 0
답변 (1개)
Marc Erickson
2021년 9월 14일
Double check that the bitstream you are using was created with the same version of Simulink as you are running your model with. I think you found one workaround: re-download the bitstream. Another potential workaround is to close and re-open the model, but that is less likely to work. This is not expected behavior, so if you want us to take a look, you can file a support request and we'll see what we find. If for an commercial off-the-shelf board, it is best if you can supply the bitstream and FIL block.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!