Re: Matlab HDL Coder: How to replace "open file" function?
give it a go and try it - I cant see the design, so have no idea how appropriate it is. Just keep the fopen well away from HDL coder.
- - - Updated - - -
Btw, you can use HDL coder on specific parts of your Simulink design, so the rest of it exists as a testbench for the HDL (which you can then connect in with a co-simulation block). SO the fopen can stay elsewhere in the bit you dont intend to convert with HDL coder.