Setup for ARM Targeting
Perform this setup if you plan to generate embedded ARM® code targeted for the Zynq® device, and you performed the manual setup, or you used the guided setup and you installed Embedded Coder® Support Package for Xilinx® Zynq Platform after you installed Vision HDL Toolbox™ Support Package for Xilinx Zynq-Based Hardware.
You must have Embedded Coder and Embedded Coder Support Package for Xilinx Zynq Platform installed.
Register the root directory that is used by the cross-compilation toolchain. This toolchain is used when generating code to target the ARM portion of the Zynq device.
setupvisionzynqsysroot()
Create a communication link to the Zynq board. Use the IP address that you configured for your board. The generated software interface models use this link.
zynq('Linux','192.168.4.2','root','root','/tmp');