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.

답변 (1개)

Shuba Nandini
Shuba Nandini 2023년 9월 4일

0 개 추천

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

Ivo
Ivo 2023년 9월 4일
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기

제품

릴리스

R2022b

질문:

Ivo
2023년 8월 25일

댓글:

Ivo
2023년 9월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by