Dot indexing is not supported for variables of this type error in Simulink

13 vues (au cours des 30 derniers jours)
Vedanta Jaitoo
Vedanta Jaitoo le 20 Sep 2022
Commenté : Xiaohui Zhang le 23 Sep 2022
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 commentaires
Vedanta Jaitoo
Vedanta Jaitoo le 22 Sep 2022
It is for my FYP, so I cannot share the file online as later it may show as plagiarism.
Is there any other way, or solution for this error message?
Walter Roberson
Walter Roberson le 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.

Connectez-vous pour commenter.

Réponses (1)

Xiaohui Zhang
Xiaohui Zhang le 22 Sep 2022
Hi, did you fix this error, I have the same error when using simulink
  6 commentaires
Walter Roberson
Walter Roberson le 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
Xiaohui Zhang le 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)

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by