Output pointCloud from Simulink model

Hey,
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?
Thanks!

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products

Release

R2020a

Asked:

on 17 Nov 2020

Community Treasure Hunt

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

Start Hunting!