フィルターのクリア

How can I fix the error when I open the example 'ACCTestBenchExample'?

33 ビュー (過去 30 日間)
Bo Lin
Bo Lin 2019 年 11 月 26 日
コメント済み: Bingqian Feng 2020 年 2 月 11 日
When I open the example 'ACCTestBenchExample',it happened to this.
=== Simulation (Elapsed: 3 sec) ===
Error:Expression 'BusActorsActors' for type of data 'egoActor' did not evaluate to a valid type.
Caused by:
Invalid setting in 'Vehicle and Environment/Actors and Sensor Simulation/Pack Ego Actor' for parameter 'Datatype'
Error evaluating MATLAB Function parameter data 'Datatype' in its parent workspace.
函数或变量 'BusActorsActors' 无法识别。
Variable 'BusActorsActors' does not exist.
I do not change anything about the example provided.So,how can I fix it?
Thank you,
Lin Bo
  1 件のコメント
Bingqian Feng
Bingqian Feng 2020 年 2 月 11 日
Did you solve the problem?
I meet the same problem, and don't know how to fix it

サインインしてコメントする。

回答 (1 件)

Fangjun Jiang
Fangjun Jiang 2019 年 11 月 26 日
It is likely that the data has not been properly loaded. Run the following to bring up the Help page and click "Open Model" to start
web(fullfile(docroot, 'driving/examples/adaptive-cruise-control-with-sensor-fusion.html'))
  3 件のコメント
Fangjun Jiang
Fangjun Jiang 2019 年 11 月 26 日
I've run the example in R2019b. No problem at all.
'BusActorsActors' is a bus object. Your error message says it does not exist, which indicates that the data is not properly loaded.
Another reason might be that you don't have enough toolbox. Run "license inuse" shows
automated_driving_toolbox
control_toolbox
matlab
mpc_toolbox
simulink
video_and_image_blockset
Bingqian Feng
Bingqian Feng 2020 年 2 月 11 日
Did you solve the problem?
I meet the same problem, and don't know how to fix it

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEvent Functions についてさらに検索

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by