Too many input arguments Error in helperCrop​PointCloud​sAndMergeL​abels function in matlab example

1 view (last 30 days)
openExample('deeplearning_shared/AerialLidarSemanticSegmentationUsingPointNetExample')

Answers (1)

Mahesh Taparia
Mahesh Taparia on 2 Mar 2022
Hi
It seems you are using a helper function given in this section and you are getting this error because more number of inputs has been passed to that function. This function can only take 5 inputs, consider the below example:
[pcCropTrainPath,labelsCropTrainPath,weights] = helperCropPointCloudsAndMergeLabels( ...
gridSize,trainDataFolder,numPoints,writeFiles,numClasses);
For more information, refer this section. Hope it will help!

Community Treasure Hunt

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

Start Hunting!