Hello,
I can try to provide some general suggestions, but if you could post the code you have in the MATLAB® script node, I can provide more specific guidance. By "simplest graph," do you mean something like
plot(x)? It sounds like you are wiring an input to the node that you wish to plot. In that case, the input should be a 1D array. Really, though, the input to the MATLAB script node should be the same type as your data. Then choose the plot command accordingly. For 1D data, use plot. For 2D data, use plot3, surf, or mesh.
What do you mean by "simple plotting program"? Can you try the simple commands below and see if a plot window appears when executing them from a MATLAB script node?
x = linspace(0,2*pi);
y = sin(x);
plot(x,y)MATLAB® is a registered trademark of The MathWorks, Inc.
Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments