Where to find model from example?

Where do I find the models from the example at
https://www.mathworks.com/help/mcb/gs/sensorless-foc-pmsm-smo-fo.html
Particularly
If I try to open this from the Matlab command line:
openExample('mcb/SensorlessFocFOSMOExample','supportingFile','mcb_pmsm_foc_sensorless_f28379d.slx')
Warning: File not found or permission denied
I'm new to Matlab (or at least, haven't used in many years), so I'm not familiar with where to look.
Thanks!

5 Comments

Dyuman Joshi
Dyuman Joshi on 19 Oct 2023
Moved: Dyuman Joshi on 26 Oct 2023
You can refer to this particular section of the link you have provided - Required MathWorks Products to know about the products required to access the model you have listed.
To check if you have access of the products required as a part of your license, follow the instructions from this answer - https://in.mathworks.com/matlabcentral/answers/285496-how-do-i-view-what-toolboxes-i-have-for-my-license#answer_223183
Mark
Mark on 19 Oct 2023
Moved: Dyuman Joshi on 26 Oct 2023
Thanks. I did see that section on Required Mathworks Products. I do have the Motor Control Blockset installed. (And also the C2000 Microcontroller Blockset, Embedded Coder, and Fixed Point Designer).
If the file (model?) mcb_pmsm_foc_sensorless_f28379d.slx should exist on my PC somewhere, it is not there.
Thanks!
Which release of our products are you using? I'm not sure in which release that example was introduced, but is it possible you're using an older release that predates that example?
R2023b.
I was sort of thinking the opposite as one possibility. That the example was created for an older release and was not maintained/copied to the latest release.
Sorry, I do not have access to the required products to test if it works or not.
You should contact MATLAB Support regarding this - Contact Support

Sign in to comment.

Answers (1)

Abhishek Gota
Abhishek Gota on 6 Dec 2023
HI Mark ,
I tried opening the models mentioned in the example page https://www.mathworks.com/help/mcb/gs/sensorless-foc-pmsm-smo-fo.html with the products you had specified in R2023b and find the examples open on executing following commands
  • openExample('mcb/SensorlessFocFOSMOExample','supportingFile','mcb_pmsm_foc_sensorless_f28069MLaunchPad.slx')
  • openExample('mcb/SensorlessFocFOSMOExample','supportingFile','mcb_pmsm_foc_sensorless_f28379d.slx')
The examples are downloaded from web on openExample command since Doc location is set to Web by default which requires internet connection however you could try installing locally by following the steps in https://in.mathworks.com/help/install/ug/install-documentation-using-internet-connection.html
Hope This Helps !
Thanks
Abhishek

Products

Release

R2023b

Tags

Asked:

on 19 Oct 2023

Answered:

on 6 Dec 2023

Community Treasure Hunt

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

Start Hunting!