Unable to open AUTOSAR Client-Server example

I'm unable to follow the example below due to receiving errors trying to open the example files:
I'm receiving the following errors:
>> openExample('mControllerWithInterface_server')
Error using matlab.internal.examples.identifyExample
Invalid argument "mControllerWithInterface_server".
Error in openExample (line 24)
[exampleId, isMainFile] = matlab.internal.examples.identifyExample(file);
>> openExample('ExampleApplicationErrType.m')
Error using matlab.internal.examples.identifyExample
Invalid argument "ExampleApplicationErrType.m".
Error in openExample (line 24)
[exampleId, isMainFile] = matlab.internal.examples.identifyExample(file);
Is this example still part of the blockset? I have all Simulink toolsets installed, so I'm pretty sure it's not missing dependencies.
Cheers.

Antworten (1)

Shuba Nandini
Shuba Nandini am 4 Sep. 2023

0 Stimmen

Hello,
It is my understanding that you are trying to open 'mControllerWithInterface_server' example from AUTOSAR blockset. You may encounter errors if you are utilizing MATLAB version prior to R2019a, as the example 'mControllerWithInterface_server' is accessible from MATLAB R2019a onwards. Additionally, make sure you've installed the AUTOSAR Blockset.
Please follow the below thread for more troubleshooting steps:
Hope this helps!
Regards,
Shuba Nandini

1 Kommentar

Ivo
Ivo am 4 Sep. 2023
Hi Shuba,
Thanks for your answer. I should have mentioned my version installed. It's version 2022b. I also have the AUTOSAR Blockset installed.
I will try to follow the troubleshooting steps, thank you.

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Version

R2022b

Gefragt:

Ivo
am 25 Aug. 2023

Kommentiert:

Ivo
am 4 Sep. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by