Help for controlling via Matlab

Hello,

I was wondering how hard would it be to control BlueROV2 via matlab, with very simple movements as move forward for few meters or few seconds and then return backwards to original position? I’d be testing it inside a small pool, could anyone give me tips or guidance on what I have to do to make it work like that through matlab?

Any help is appriciated
Thank you!