Hi David,
I notice that the latest version has dde commands MaxCurves and MaxPoints - Thanks!
But how do I use them?
Here's how I get on with Matlab:
h = ddeinit('DPlot','System');
rc = ddeexec(h,'[SelectCurve(2)]');
...and I have tried, for example:
curves = ddeexec(h,'MaxCurves');
but this throws the DPlot error:
Error processing this command:
'MaxCurves'
What am I doing wrong? Thanks, Chris
MaxCurves and MaxPoints
Moderator: DPlotAdmin
-
- Posts: 12
- Joined: Fri Apr 30, 2004 2:03 pm
- Location: Tempe, AZ
- Contact:
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
I've no idea how to do an XTYP_REQUEST transaction in Matlab. In VB this is a LinkRequest, using DPLOTLIB.DLL you'd use DPlot_Request. If the feature exists in Matlab it is likely called something like dderequest. (Gearhead talk: Your ddeexec function ends up being a XTYP_EXECUTE DDE transaction, which can only send information (like command strings) and receive a confirmation or error code - it can't retrieve application data.)
To make things slightly more complicated, DPlot responds to all XTYP_REQUEST transactions with a character string. So if/when you find Matlab's equivalent to XTYP_REQUEST you need to keep in mind that the returned value is a character string, not an integer.
Let me know if you run into any stumbling blocks on this.
To make things slightly more complicated, DPlot responds to all XTYP_REQUEST transactions with a character string. So if/when you find Matlab's equivalent to XTYP_REQUEST you need to keep in mind that the returned value is a character string, not an integer.
Let me know if you run into any stumbling blocks on this.
Visualize Your Data
support@dplot.com
support@dplot.com
-
- Posts: 12
- Joined: Fri Apr 30, 2004 2:03 pm
- Location: Tempe, AZ
- Contact: