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!

 Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 18 Jan. 2024
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:

Weitere Antworten (0)

Kategorien

Mehr zu Motor Control Blockset finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by