MiniZed Support Package for Simulink and Matlab 2018a - how to setup SDK?

1 回表示 (過去 30 日間)
Arne
Arne 2018 年 3 月 26 日
コメント済み: frank wu 2020 年 5 月 31 日
Hello,
I installed the Linux sytem for the Matlab/Simuling HW/SW codesign on my Minized.
I went through the installation and setup procedure provided my minized.org, but I cannot figure out how to setup the SDK to work with Matlab/Simulink.
I tried to follow the procedure to configure the Embedded Coder Support Package for Xilinx Zynq Platform by selecting Add-Ons > Manage Add-Ons, but things have changed in the 2018a version.
I cannot figure out how to point to my SDK.
THe setup defaults to the c: drive, but my SDK is setup for the d: drive.
Any ideas on how to fix that?
Thanks,
Arne

回答 (2 件)

Noam Levine
Noam Levine 2018 年 4 月 12 日
Arne - Did you see the new MiniZed support package from Avnet in the Add-On Explorer? They define a MATLAB set-up process, including the need to run a minized_setup.m after the support package is installed.

Arne
Arne 2018 年 5 月 18 日
Hi Noam, Yes, and I finally seem to got it working. There seems to be a bug when setting when setting up the SDK for Embedded Coder: I had to flip back and forth before I could point to my SDK, which is located on my D: drive.
Now I have a new problem: When I start the HDL Workflow Advisor, I get the following message in the Matlab window:
Warning: File C:/ProgramData/MATLAB/SupportPackages/R2018a/toolbox/target/supportpackages/zynq/registry/attributes/xilinxZynqZC701AttributeInfo.xml not found
I checked, and the directory exists, but the file "xilinxZynqZC701AttributeInfo.xml" is not inside it.
The HDL Workflow Advisor stops at "4.2 Generate Software Interface Model" with the error message:
Failed The data for the selected hardware 'MiniZed' is invalid. Select a different hardware, or contact the vendor that provides the support for the target 'MiniZed'.
So I presume that the file "xilinxZynqZC701AttributeInfo.xml" is missing and that causes the HDL Workflow Advisor to fail. I de-installed and re-installed the MiniZed HW support package several times but that did not fix it. Any thoughts?
Regards, Arne

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by