how to access data in Interface.​mscorlib.d​ll._ArrayL​ist

7 ビュー (過去 30 日間)
Kevin Liu
Kevin Liu 2016 年 6 月 15 日
Dear Sir/Madam, please see the following, which I connected to a COM server and tried to retrieve its data contained in RegisteredDeviceTypes. Matlab returned with the "Interface.mscorlib.dll._ArrayList" type, and my question is how to get the data in that ArrayList? Could you help? Thanks in advance.
Log of Matlab session: >> P=actxserver('ASCOM.Utilities.Profile') P = COM.ASCOM_Utilities_Profile >> P.get DeviceType: 'Telescope' RegisteredDeviceTypes: [1x1 Interface.mscorlib.dll._ArrayList] >> P.DeviceType ans = Telescope >> t=P.RegisteredDeviceTypes t = Interface.mscorlib.dll._ArrayList >>

回答 (0 件)

カテゴリ

Help Center および File ExchangeUse COM Objects in MATLAB についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by