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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Tao Jia
Tao Jia il 30 Ott 2013
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