I understood that you are facing issues while using “imfreehand()” function in MATLAB Mobile version. Try below troubleshooting steps to resolve your query.
- “imfreehand()” is not recommended so try to use the new “Freehand” ROI object and you can use the new ROI creation convenience function “drawfreehand()”. Another option is the “AssistedFreehand()” object, which enables you to hand-draw a shape that automatically follows the edges in the underlying image.
Links for above functions from MathWorks documentation
- https://www.mathworks.com/help/images/ref/imfreehand.html (Not recommended to use)
- https://www.mathworks.com/help/images/ref/images.roi.freehand.html
- https://www.mathworks.com/help/images/ref/drawfreehand.html
- https://www.mathworks.com/help/images/ref/images.roi.assistedfreehand.html
Hope it helps to resolve your query.