simulink test tutorial file

Hi,
I'm trying to step thru the tutorial for simulink test
The toolbox is installed. But the tutorial model sltestBasicCruiseControlBaseline cannot be found. Been a while since I've worked at this level so has something changed wrt tutorials, like they need to be installed separately or something?
Thanks,
-Chris

 Respuesta aceptada

Steven Lord
Steven Lord el 12 de Mzo. de 2024

0 votos

Open the example using the command that gets copied to the clipboard when you press the Copy Command button. That model is part of the example and is in the example's directory. Using that command will change directory to the example's directory and so make the sample model accessible.

3 comentarios

checker
checker el 12 de Mzo. de 2024
Movida: Steven Lord el 13 de Mzo. de 2024
Hi Steven,
I should have pasted my error in. Perhaps there's additional downloads required?
openExample('simulinktest/CreateASimpleBaselineTestExample')
Error using findExample
Example "CreateASimpleBaselineTestExample" not found in "C:\Program Files\MATLAB\R2022b\examples\simulinktest\examples.xml".
checker
checker el 12 de Mzo. de 2024
Movida: Steven Lord el 13 de Mzo. de 2024
Ah, a version issue. This example isn't available in 2022b.
Thanks,
-Chris
Steven Lord
Steven Lord el 13 de Mzo. de 2024
Yes, that would be the root cause of the problem. I didn't think to check which version you were using, since the information on the right side of the page listed release R2023b.
Looking at the archived documentation, this example was added in release R2023a.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Results, Reporting, and Test File Management en Centro de ayuda y File Exchange.

Productos

Versión

R2023b

Etiquetas

Preguntada:

el 12 de Mzo. de 2024

Comentada:

el 13 de Mzo. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by