Cannot open F28379D PMSM sensorless FOC example

While following the instructions here (https://www.mathworks.com/help/mcb/gs/sensorless-foc-pmsm-smo-fo.html), I ran the command
openExample('mcb/SensorlessFocFOSMOExample','supportingFile','mcb_pmsm_foc_sensorless_f28379d.slx')
which should open the F28379D variant of the sensorless FOC Simulink example. However, it opens the F28069M variant instead, and I cannot figure out how to access the code that should be used for the F28379D. It seems the F28069M code is not compatible with the F28379D microcontrollers.
What would be the correct way to access the F28379D sensorless FOC example?
Thank you in advance!

 採用された回答

Cris LaPierre
Cris LaPierre 2024 年 1 月 18 日

0 投票

Starting in R2023a, MathWorks has beeing changing the location of some examples. What is seen in the web documentation is applicable to the current version. You may need to look at the version specific documentation of this eample to see what the appropriate command is for your release version.
When I look at the R2023a documentation, the command to use to open the desired model is
open_system('mcb_pmsm_foc_sensorless_f28379d')
Here is the url:

1 件のコメント

Mihir Kasmalkar
Mihir Kasmalkar 2024 年 1 月 18 日
Thank you! I resolved the issue by upgrading to R2023b.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMotor Control Blockset についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by