フィルターのクリア

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 Center および File ExchangeModeling についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by