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

조회 수: 1 (최근 30일)
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.

채택된 답변

Sudarshan Kolar
Sudarshan Kolar 2017년 4월 25일
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

추가 답변 (1개)

Edoardo Saccenti
Edoardo Saccenti 2018년 11월 9일
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.

카테고리

Help CenterFile Exchange에서 复杂逻辑에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!