Based on the error message, HDL Coder needs sample time to be more specific than "0" for delay balancing. Although Transfer Fcn block doesn't have a sample time setting, the "0" sample time may be propagated from signals around this block. You may try the following two general steps first:
- >> hdlsetup('MASDiscritized');
- Ensure that every signal has a specific discrete sample time.