Question

I am working with Visual Studio 2005 and have a 2D array (say my2Dvar) that I would like to see the values of during run time. I am looking to export these values into Matlab. I tried displaying the values using ?my2DVar in the immediate window. But the values aren't displayed properly (the elements of the array show up as {...}). I can hover the mouse over the variable and expand the small plus signs that appears to look at the individual entries but the array is too big for me to do this for all entries.

Question: Is there a way to export the values of the 2D-array to a file from which it can be easily read by other platforms? I would appreciate any help. Thanks for your time.

Was it helpful?

Solution

If Visual Studio's default data visualizers aren't handling your custom data types, you can write your own visualizers for Visual Studio

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top