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 个评论

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 2023-10-19
移动:Dyuman Joshi 2023-10-26
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

请先登录,再进行评论。

回答(1 个)

Abhishek Gota
Abhishek Gota 2023-12-6
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

类别

产品

版本

R2023b

标签

提问:

2023-10-19

Community Treasure Hunt

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

Start Hunting!

Translated by