Direct import data to Matlab mobile workspace.
Show older comments
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
Walter Roberson
on 15 Jun 2021
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.
Dmitry Gakamsky
on 15 Jun 2021
Walter Roberson
on 15 Jun 2021
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.
Dmitry Gakamsky
on 16 Jun 2021
Walter Roberson
on 16 Jun 2021
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.
Answers (0)
Categories
Find more on MATLAB Mobile in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!