Hello,
i have a Problem with the C-Code Generation for the bwlabel function.
My input is a binary 200x200 matrix. The Error:
Computed maximum size of output1 of function 'intermediateLabelRuns' is not bounded. Static memory allocation requieres all sizes to be bounded. The computet size is [:? x1]. Function 'bwlabel.m' "startRow".
I get the same Error for "endRow" "startCol" and "labelForEachRun"
For this problem i tried to set an coder.varsize in the copied bwlabel function with an upper bound for the specific variables. In this case i get another Error:
The function 'indexInt' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation. "coder.internal.indexInt(startRow(k)"
The documentation says that the function is supported for c-code Generation. Do you now how i can handle this ?
Best regards
Philipp Lenz