Cannot open F28379D PMSM sensorless FOC example

13 views (last 30 days)
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!

Accepted Answer

Cris LaPierre
Cris LaPierre on 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:

More Answers (0)

Categories

Find more on Motor Control Blockset in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!