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 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의