Matlab problem

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14751
    aglazner
    Participant

      I have twice managed to damage DG while trying to import data from Matlab using the clipboard command. I had a 4096-by-1 column vector p in Matlab and put it in the clipboard via clipboard(‘copy’,p). Unfortunately, Matlab insists on sticking square brackets at the beginning and end of what it puts on the clipboard, and so when I pasted this into DG it put it all in one entry (as text, I guess). That gave me the spinning wheel of death, and it was difficult to get out of that (see this issue in Support). Next day I inadvertently did the same thing and killed DG again.

      I got around the problem by writing the data to a csv file instead of using the clipboard function in Matlab.

      #14752
      david
      Moderator

        Fixed this in the next beta. I check to see if there is a single line with a comma and if that is the case transpose the content before I paste it.

        Does matlab maybe use a space separator in this case?

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.