Unable to open AUTOSAR Client-Server example

4 views (last 30 days)
Ivo
Ivo on 25 Aug 2023
Commented: Ivo on 4 Sep 2023
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.

Answers (1)

Shuba Nandini
Shuba Nandini on 4 Sep 2023
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 Comment
Ivo
Ivo on 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.

Sign in to comment.

Categories

Find more on AUTOSAR Blockset in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!