MATLAB 帮助中心
Load existing binaries onto hardware board
Since R2023a
loadBinaries(obj)
loadBinaries(obj,hardware)
loadBinaries(obj) loads the binaries in the specified project folder onto the most recently connected hardware board.
obj
loadBinaries(obj,hardware) loads the binaries in the specified project folder onto the hardware board hardware.
hardware
example
collapse all
Use MATLAB® commands to load binaries in a project folder onto the ZedBoard™.
Set the synthesis tool path to point to an installed Vivado® Design Suite. When you execute this command, use your own Xilinx® Vivado installation path.
hdlsetuptoolpath('ToolName','Xilinx Vivado','ToolPath', ... 'C:\Xilinx\Vivado\2022.1\bin\vivado.bat');
Create an socModelBuilder object for the soc_hwsw_top SoC model.
socModelBuilder
soc_hwsw_top
obj = socModelBuilder('soc_hwsw_top')
obj = socModelBuilder with properties: ModelName: 'soc_hwsw_top' ProjectFolder: 'soc_prj' BuildType: 'Processor and FPGA' ExternalMode: 0 RunExternalFPGABuild: 1
Change the project folder to G:\R2023a\myProject.
G:\R2023a\myProject
obj.ProjectFolder = 'G:\R2023a\myProject'
obj = socModelBuilder with properties: ModelName: 'soc_hwsw_top' ProjectFolder: 'G:\R2023a\myProject' BuildType: 'Processor and FPGA' ExternalMode: 0 RunExternalFPGABuild: 1
Load the binaries in the G:\R2023a\myProject project folder to the most recently connected hardware board.
loadBinaries(obj);
Load the binaries in the G:\R2023a\myProject project folder onto the ZedBoard.
hw = socHardwareBoard('ZedBoard'); loadBinaries(obj,hw);
SoC model builder, specified as an socModelBuilder object. Use this object to build, load, and execute an SoC model on the SoC or FPGA board.
socHardwareBoard
Hardware object, specified as a socHardwareBoard object that represents the connection to the SoC or FPGA board.
Introduced in R2023a
socModelBuilder | socHardwareBoard
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处