- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

I have my data in matlab which i want to tranfer it to Galileo for further actions, could you please help me out with this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Hi Shoban_Narayan,

I'm afraid that connecting the Galileo board with MATLAB is not possible. As you can see in the following threads from MathWorks* forum, the Galileo board is not supported by MATLAB so it's not possible to send data to the board:

- http://www.mathworks.com/matlabcentral/answers/182814-can-matlab-connect-to-a-intel-galileo-board Can Matlab connect to a Intel Galileo board ? - MATLAB Answers - MATLAB Central
- http://www.mathworks.com/matlabcentral/answers/183024-matlab-support-for-intel-galileo-gen2 Matlab support for Intel Galileo Gen2 - MATLAB Answers - MATLAB Central

Regards,

Diego

Link Copied

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Hi Shoban_Narayan,

I'm afraid that connecting the Galileo board with MATLAB is not possible. As you can see in the following threads from MathWorks* forum, the Galileo board is not supported by MATLAB so it's not possible to send data to the board:

- http://www.mathworks.com/matlabcentral/answers/182814-can-matlab-connect-to-a-intel-galileo-board Can Matlab connect to a Intel Galileo board ? - MATLAB Answers - MATLAB Central
- http://www.mathworks.com/matlabcentral/answers/183024-matlab-support-for-intel-galileo-gen2 Matlab support for Intel Galileo Gen2 - MATLAB Answers - MATLAB Central

Regards,

Diego

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

What type of data is it though?

Depending on what you want to do, it may be possible. For example, a vector array as a txt file would be possible.

I have sent a file like this from an arduino into a PC and imported it manually into MATLAB. Your task seems a bit more complicated but It can be accomplished with a python script of some sort.

Good luck

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Yes it is vector array of txt datatype, but I must automize the transfer of files between PC and Galileo through coding.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Shoban_Narayan wrote:

Yes it is vector array of txt datatype, but I must automize the transfer of files between PC and Galileo through coding.

What about the following sequence?:

a) generate .txt file in matlab

b) have a program that once recognized the .txt file exists, sends it to somewhere (Galileo in this case) and rename/delete the file

you could add a "signal" to the program sending the .txt file...

I'm curious why you need to send data from a PC to the Galileo... the "usual" data flow I've seen is in the opposite direction: from Galileo or Arduino to PC except in configuration startup at the Galileo or Arduino.

Fernando.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

MATLAB has some FTP operations, so if your Galileo is on the same LAN you should be able to send the file that way.

http://www.mathworks.com/help/matlab/ref/ftp-class.html http://www.mathworks.com/help/matlab/ref/ftp-class.html

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

I did not work much with matlab, you clearly know better, this is far easier than my "proposal".

Fernando.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page