Error in S-function while running FPGA-in-the-loop, FIL Wizard

3 次查看(过去 30 天)
Am using MATLAB r2011a, I have made simulink model and using FIL wizard for Atlys Spartan 6 kit. Am successfully able to generate the FIL block and able to load the program to kit. But when I run simulink model it gives following Block error:
Error in '../ABC' while executing C MEX S-function 'filsfun', (mslSetWorkWidths), at time 0.0.
And Model Error as: Unexpected unknown exception from MEX file.

回答(1 个)

Tao Jia
Tao Jia 2013-10-30
This looks a problem in the FIL block. Maybe you can check the signals connected to the FIL block (the data type and dimensions).
I would also suggest upgrading your MATLAB version. R2011a was the first release of FPGA-in-the-Loop feature and there are lots of enhancements and bug fixes since then.

Community Treasure Hunt

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

Start Hunting!

Translated by