Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Response to Plotting 1D array

"In general, if the prototype of the method specifies a matrix for a parameter, you must specify a matrix and vector is not an option. Depending on what you're trying to do you could try creating a matrix that has a single row and passing that for the parameter.

- Elton"

My response:
"If you don't know the size of array, and want to use say "malloc," you cannot create a 2-D array using it; however, dynamically creating a 1-D array using "malloc" is no problem. Then, given the 1-D array created by "malloc," how can I apply it to Plot3DSurface?"
0 Kudos
Message 1 of 2
(2,903 Views)
Please see the answer posted in the original thread about this issue.

- Elton
0 Kudos
Message 2 of 2
(2,903 Views)