Simulink provides a graphical editor, customizable block libraries, and solvers for modeling and simulating dynamic systems.
It is integrated with MATLAB®, enabling you to incorporate MATLAB algorithms into models and export simulation results to MATLAB for further analysis.
Simulink has an HDL-optimized library with more than 250 blocks and compatible with HDL Code Generation.
Thus, to deploy MATLAB algorithm on a FPGA, the recommended workflow is to use MATLAB and Simulink together to combine textual and graphical programming in a simulation environment.
To open the Simulink Start Page, in the MATLAB Toolstrip, click Simulink.
On the Start Page, click the title of a template to expand the description.
Click the down arrow next to Create Model and select Set As Default.