MATLAB: Get error “Undefined function or variable ‘xml_write’.”

MATLAB

I am trying a simple code to test xml_write but I got this:
Undefined function or variable 'xml_write'.
Why?

Best Answer

Just found out why, I didn't use import. Now it works.