Output pointCloud from Simulink model

1 view (last 30 days)
Bram Surewaard
Bram Surewaard on 17 Nov 2020
I have this Matlab function block in my Simulink model that uses a Matlab function to modify a pointCloud (https://www.mathworks.com/help/vision/ref/pointcloud.html). I need to use the resulting pointCloud in the next simulink block, however I am not able to succesfully output the pointCloud. I have keep getting the following error:
Function output 'MultibeamPointCloud' cannot be an mxArray in this context. Consider preinitializing the output variable with a known type
Does anybody know how I can fix this and use the pointCloud into the next simulink block?

Answers (0)


Find more on Publishers and Subscribers in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by