MATLAB Answers

"Warning: A value of class "int32" was indexed with no subscripts specified. " in stateflow

26 views (last 30 days)
Song
Song on 23 Apr 2017
Answered: Edoardo Saccenti on 9 Nov 2018
Everytime I insert a stateflow block and add a state flow into it, if my mouse is hovering around the state, I get this warning in workspace constantly:
> In sfSingleSelectionActionConfig>loc_HasModelAdvisorWarning (line 81)
Warning: A value of class "int32" was indexed with no subscripts specified. Currently the result of this
operation is the indexed value itself, but in a future release, it will be an error.
Does anyone know how can avoid this? It's quite disturbing.

  0 Comments

Sign in to comment.

Accepted Answer

Sudarshan Kolar
Sudarshan Kolar on 25 Apr 2017
Hello Song,
I understand that you are seeing warnings when you hover your mouse over stateflow charts. I understand that it is annoying.
This issue is known with MathWorks and it will be fixed in coming Matlab release. In the meanwhile, please execute the following command to disable the warning:
warning off MATLAB:subscripting:noSubscriptsSpecified
Hope that helps.
Sudarshan

  0 Comments

Sign in to comment.

More Answers (1)

Edoardo Saccenti
Edoardo Saccenti on 9 Nov 2018
I have just installed Matlab 2018b anf have a similat problem:
Warning: A value of class "matlab.internal.editor.eval.TempFolder" was indexed with no subscripts specified. Currently the result of this operation is the indexed value itself, but in a future release, it will be an error.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags

Products