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!