Cannot find hdlcoder_m​ixed_nfp_h​fp.slx under examples

1 回表示 (過去 30 日間)
Defne
Defne 2023 年 9 月 6 日
編集済み: Daniel 2023 年 9 月 7 日
I have Matlab R2022b. I am following this tutorial: https://www.mathworks.com/help/hdlcoder/ug/mixed-design-of-native-floating-point-and-intel-hard-floating-point.html Running the following line gives an error:
open_system('hdlcoder_mixed_nfp_hfp.slx');
I looked at the following repository to see if this example exists (on my disk): C:\Program Files\MATLAB\R2022b\examples\ It does not. Where on MATLAB website can I find the example from? Please give me an answer that does not include downloading a different version of Matlab, thank you.

回答 (1 件)

Daniel
Daniel 2023 年 9 月 7 日
There's a box on the upper right of the doc page which says "Copy Command". Copying this command and pasting it into your MATLAB console will copy hdlcoder_mixed_nfp_hfp.slx and any other models needed to run the tutorial into a writeable directory, and it will also change your working directory to that directory. Once you've run that command, the open_system command should work better.
  2 件のコメント
Defne
Defne 2023 年 9 月 7 日
Yeah that solves it, however the online documentation and the website guide refer to two different models and the tutorials are different as well.
Daniel
Daniel 2023 年 9 月 7 日
編集済み: Daniel 2023 年 9 月 7 日
Yes. You'll notice that the link you included points to R2023a in the upper right corner. Documentation updates happen every release as the product changes. If you need a web link to release-specific documentation, you can find the documentation in the MATLAB help browser, right-click inside the page body, and click "Get Page Address". This will give you a MATLAB command to open the documentation from the MATLAB console as well as a web link to open it in a browser.
This is straying a little off topic from the original question though. :)

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeManage Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by