Dot indexing is not supported for variables of this type error in Simulink
13 views (last 30 days)
Show older comments
I was trying to build a closed loop control feedback for a boost acdc converter and I ran into this error message and now I'm stuck.
"Dot indexing is not supported for variables of this type"
5 Comments
Walter Roberson
on 22 Sep 2022
You could type out a description of your model and settings in enough detail that someone could exactly replicate it for testing purposes. But to be honest unless the model was very small I would be unlikely to bother recreating it in that level of detail.
Perhaps you should take it to your university teacher assistant or to university approved student computer help staff.
Or you could purchase a commercial license and then open a Support case.
Answers (1)
Xiaohui Zhang
on 22 Sep 2022
Hi, did you fix this error, I have the same error when using simulink
6 Comments
Walter Roberson
on 23 Sep 2022
When I tested in R2022a, I was getting lots of warnings that all the blocks were eliminated by optimization. I did not get the error message you indicate.
On the other hand, I do not have the Simulink Real-Time license installed on my test system, so potentially the problem was with the RTW portion of the model set-up.
Xiaohui Zhang
on 23 Sep 2022
Hi, thank you, and sorry I did not make it clear, this model I need to run on jetson nvidia, which communicate with computer through wifi (as I already set in this simulink model, when you select the hardware board "nvidia jetson" in 2022a, then go to the target setting, you will see that parameter i set for jetson, then I "monitor &tune" to run this model, have this error.
The same model I can run on the 2020b but not 2021b and 2022a)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!