It is possible to solve this by using a bus selector and bus creator after the function block. The bus creator has to have the "Output as non-virtual bus" checkbox checked.
Error when connecting Matlab Function Block to Detection Concatenation Block
3 次查看(过去 30 天)
显示 更早的评论
As I want to insert CarMaker Detections Objects into a Detection Concatenation Block I'm right now trying to connect a Matlab Function Block with Simulink Bus In- and Outputs to a Detection Concatenation Block (Autonomous Driving Toolbox). Im trying to do so using this Example:
As I am just connecting the Radar Simulation Output to the Function Block and the Function Block to the Detection Block and handing through the input to the output it should work just fine. But I am getting the error:
Caused by:
- 'SyntheticDataSimulinkExample/Detection Concatenation' 'Input Port 1' is not connected to a Simulink Bus.
My Inputs and Outputs are configured as the expected Bus-DataType.
I allready tried converting the Bus into a VirtualBus as sugested in some Discussions but thats not possible due to the fact that the Bus has Subbusses and also Arrays of Subbusses.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Automated Driving Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!