Direct import data to Matlab mobile workspace.

I am looking for a way to directly import data into Matlab workspace from Android drive without uploading it to the cloud. Any idea?

5 Comments

This would require running a tool on the android system that connected to the matlab session via the internet. For example you could write an ftp server in MATLAB and use an android ftp tool.
Thanks Walter for the advice. What tool is needed for that? Could you illustrate this with an example please?
What form is the data in on the Android drive? And how does it have to appear in the MATLAB Online workspace?
... and what leads you to wanting to do this?
For example if you were to say that you do not trust the security of the MATLAB Drive link, then I would not suggest methods that are easier to implement but probably do not meet security needs.
And if it is a flow-of-control issue then I would have to be more careful about providing mechanisms that require launching additional executables on Android.
The reason I would like to avoid using the Matlab's drive is that I would like to process RAW images that are about 22MB in size, and it takes about 5 minutes to upload a single image, which is too long since I am going to process dozens of images.
I just experimented with uploading a 30 megabyte .mp4 from my Android to MATLAB Drive. I was using WiFi to my router (which happens to be about 2 metre away). The transfer took... not long. Not instant, but I never felt that it was dragging. Maybe 20 seconds or so. A 28 megabyte file took 19 seconds. The same size file took 33 seconds when I switched to my cell phone 4G connection.
If you are using a lower speed cellular connection, or are using 10 megabits/second WiFi, then using a different upload method will not necessarily help at all.
Are you in Livingston? The carrier maps I find suggest that most of Livingston has decent 4G or faster coverage, but that coverage might drop off near the golf course and for some carriers near the agricultural college.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Mobile in Help Center and File Exchange

Asked:

on 15 Jun 2021

Commented:

on 16 Jun 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!