Hi Haolin,
As per my understanding of the problem “Generate HDL” option seems to be missing in MATLAB R2024b is the issue. To get the “Generate HDL” option in R2024b, you need the "Filter Design HDL Coder" product.
Please follow the given steps:
1. Open MATLAB R2024b Home Tab and go to Add-Ons
2. Select Get Add-Ons
3. In the search bar look for "Filter Design HDL Coder” and install the product.
4. Restart MATLAB
Hope this helps.

