- In the library browser, Select "Motor Control Blockset/Electrical Systems/Motors/Interior PMSM"
- In the library browser, Slect "Motor Control Blockset HDL Support/Electrical Systems/Motors/PMSM HDL"
Error evaluating parameter. Dot indexing is not supported for variables of this type.
4 views (last 30 days)
Show older comments
I've learned a simlulink model on file exchange and wish to try using it on my own PMSM model. but after I copy the main blocks in my model it shows up this error :

And here is my own model and parameters command :


I've search on the internet and got some little conclution : Unlike me, the exchange model set it's parameters inside the properties.
So I've tried to set the same properties inside my model and even tried to paste it inside my command window but it still won't work.
Can anyone help solving the problem? I'm new in Matlab Simulink and wish to learn more.
0 Comments
Answers (2)
Ananth kumar
on 20 Jan 2025
Hi, If you are looking for Simulink based PMSM model, you can refer any of the below library,
0 Comments
Kiran Kintali
on 20 Jan 2025
Can you please share your model here or reach out to tech support? The following message is not expected and a better message needs to be generated if the model is not suitable for simulation or code generation.
Error evaluating parameter. Dot indexing is not supported for variables of this type.
0 Comments
See Also
Categories
Find more on Permanent Magnet 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!