MATLAB: Problem with simulink and HDL coder

HDL Codersimulink

I have updated my simulink to the R2014b version. Now I cannot code a simulink file that was easily converted in version R2014a to VHDL. The answer from the HDL Workflow Advisor is:
Abnormal exit: The Block/HDLImplementation pair: ('eml_lib/MATLAB Function', 'Stateflow') is not registered in the implementation database
Does anyone have a clue?
Thanks in advance

Best Answer

It sounds as if the HDL data associated with your Stateflow.MATLAB Function block may have become damaged. I don't know if this will work, but please try it out.
  1. Find each MATLAB Function block or Stateflow chart
  2. Right click on the block, choose HDL Code > HDL Block Properties...
  3. Change any property (e.g. InputPipeline), Apply the change, change it back to the original value, and Apply the reverted value.
This should have the effect of rewriting the HDL data associated with each potentially affected block, which should correct whatever issue you are having.