MATLAB: MATLAB to VHDL convertion

MATLABvhdl

Hello everyone, I want to create a (MATLAB) function for calculating (Transfer function) for (LPF), and then convert this file into (VHDL) via (HDL Coder). My (MATLAB) files are attached below. I don't know if there is anything wrong with it.
Regards

Best Answer

You have syms s. Nothing in the Symbolic Toolbox can ever be compiled or have code generated for it.