Unable to open AUTOSAR Client-Server example

4 次查看(过去 30 天)
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
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 AUTOSAR Blockset 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by