Using MATLAB data in C# XNA game controls

  • Context: MATLAB 
  • Thread starter Thread starter li4ngx
  • Start date Start date
  • Tags Tags
    Data Matlab
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
li4ngx
Messages
1
Reaction score
0
matlab data to c# help!

hi,

i am trying to use data obtained from MATLAB as input for controls of a simple game in c# xna.

i am thinking of extracting the output from MATLAB as .txt file, which will be read and process by c#. Am I on the right direction, and how do I go about doing so?

Thanks in advance.

Regards.
 
Physics news on Phys.org


You can use fprintf to save to file in MATLAB and then use whatever file I/O is in C# to read the data in.