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

 Akzeptierte Antwort

Steven Lord
Steven Lord am 12 Mär. 2024

0 Stimmen

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 Kommentare

checker
checker am 12 Mär. 2024
Verschoben: Steven Lord am 13 Mär. 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 am 12 Mär. 2024
Verschoben: Steven Lord am 13 Mär. 2024
Ah, a version issue. This example isn't available in 2022b.
Thanks,
-Chris
Steven Lord
Steven Lord am 13 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Produkte

Version

R2023b

Gefragt:

am 12 Mär. 2024

Kommentiert:

am 13 Mär. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by