필터 지우기
필터 지우기

Getting "not a valid name" error

조회 수: 18 (최근 30일)
Brian Tremaine
Brian Tremaine 2023년 12월 2일
답변: Walter Roberson 2023년 12월 2일
I am using the WaterTank Matlab example code and adapting it to my own specific problem. I'm getting an error that "WaterTank.slx" is not a valid MATLAB function. Sorry, I don't understand what the problem is.
My working folder is WaterTank, and contains files WaterTank.mlx and WaterTank.slx. At line 65 I am trying to select the variant 'ADRC' and get the error.

채택된 답변

Walter Roberson
Walter Roberson 2023년 12월 2일
mdl = 'WaterTank' ;
Leave out the extension in that context

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by