Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

region growing code trouble

Asked by Dian Permatasari on 28 Jul 2013

can help me ? how to display the function region grow:

when I input source code, but error in this code " J=regiongrowing(I,x,y,0.2);

0 Comments

Dian Permatasari

1 Answer

Answer by Image Analyst on 30 Jul 2013

Put the cursor in the letters of a name of a function, like regiongrowing, and type control-d. This will display the code for the function in the code editor. It's similar to where you can put the cursor in variables and type control-d to being up the variable in the variable editor. In the source code for your function, you can set breakpoints and step through the code using the debugger to find any error or examine variables. See this link for more details: Debugging in MATLAB.

0 Comments

Image Analyst

Contact us