Why do NaNs in a cell array not pass correctly when connecting two MATLAB 7.4 (R2007a) sessions via COM automation?
Show older comments
In a client session of MATLAB, open up a server:
h = actxserver('matlab.application')
In the server session of MATLAB, create a cell array with a "NaN":
A = { 1 2 NaN }
From the client session of MATLAB, retrieve the cell array with the "GetWorkspaceData" method:
A = h.GetWorkspaceData('A','base')
A{3}
In place of the "NaN" as the third element of the cell array is an error message:
ActiveX VT_ERROR: Parameter not found.
Accepted Answer
More Answers (0)
Categories
Find more on ActiveX in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!