if you want to convert a matlab code into VHDL or verolig , you must write it in embedded matlab form , with its restrictions
you have to read a lot about embedded matlab before you start
If you want to go to embedded matlab you haven't a lot of resources , as the simulink HDL coder was released only 2007 , so most of your resources is the matlab help.
1-Read a lot in matlab help about embedded matlab
2- look in the demos files on how to write codes
3- try copying these demos and change a bit in the code
4- keep going on till you master the code
5- try writing your own codes with the same style
Note: if you are good in VHDL you will go on very fast , as embedded matlab codes are VHDL codes in matlab environment and style.
Thanks a lot for reply. It seems to be a good reason to translate matlab codes into VHDL, cause its more simply to model in matlab )) (in my opinion). Its true, no many litterature, but it wiil be useful to try, so interesting new abilities. One more time - THANKS.