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:
- Can Matlab connect to a Intel Galileo board ? - MATLAB Answers - MATLAB Central
- Matlab support for Intel Galileo Gen2 - MATLAB Answers - MATLAB Central
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.
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.