Transcribe Arduino code to Mathlab code

Job ID: 34453191

Budget: $10 – $30 USD

I have a project made in arduino, I already have the code and it works and I have a graphic in a serial plotter. But I need to do that code in Mathlab and not show the graphs, of course using the arduino device by SERIAL COMMUNICATION.