Getting "not a valid name" error
29 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Brian Tremaine
el 2 de Dic. de 2023
Respondida: Walter Roberson
el 2 de Dic. de 2023
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.
0 comentarios
Respuesta aceptada
Walter Roberson
el 2 de Dic. de 2023
mdl = 'WaterTank' ;
Leave out the extension in that context
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!