interface ILEDCOMMatlab : IDispatch{ // Hier die exportierten Funktionen hinzufügen [id(1), helpstring("Methode OpenDevice")] HRESULT OpenDevice([out]VARIANT *result); [id(2), helpstring("Methode CloseDevice")] HRESULT CloseDevice([out]VARIANT *result); [id(3), helpstring("Methode StartMeasure")] HRESULT StartMeasure([out]VARIANT *result); [id(4), helpstring("Methode StopMeasure")] HRESULT StopMeasure([out]VARIANT *result); [id(5), helpstring("Methode ReadData")] HRESULT ReadData([in,out]VARIANT *buf1, [in,out]VARIANT *buf2, [out]VARIANT *result); [id(6), helpstring("Methode SetIntegrationTime")] HRESULT SetIntegrationTime([in]VARIANT time,[out]VARIANT *result); }; interface ICLEDCOMExcel : IDispatch{ [id(1), helpstring("Methode OpenDevice")] HRESULT OpenDevice([out]int *result); [id(2), helpstring("Methode CloseDevice")] HRESULT CloseDevice([out]int *result); [id(3), helpstring("Methode StartMeasure")] HRESULT StartMeasure([out]int *result); [id(4), helpstring("Methode StopMeasure")] HRESULT StopMeasure([out]int *result); [id(5), helpstring("Methode ReadData")] HRESULT ReadData([in,out]short *buf1, [in,out]short *buf2, [out]int *result); [id(6), helpstring("Methode SetIntegrationTime")] HRESULT SetIntegrationTime([in]short time,[out]int *result); };