Matlab files in TensorFLow

Hi all. We developed a matlab script to calculate dimensions of a document using simple image processing techniques. I want to make a flutter mobile app for that.

Can I add my .m file in tensorflow and can I execute it using firebase cloud storage and firebase function. If it is not how can I make these my processes to make a app that can execute .m codes

Thank you