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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ