2012-03-27 6 views
0

ich vor folgendem Code verwendet aufzurufen MATLAB von MATHEMATICA ohne Probleme Fehler .NETLink in Mathematica in Matlab

In[1]:= Needs["NETLink`"] 
matlab = CreateCOMObject["matlab.application"] 

Aber ich habe wie dies auf einen Fehler jetzt zu nennen:

CreateCOMObject :: netexcptn: "Eine .NET-Ausnahme ist aufgetreten:! (TraditionalForm` \" System.Runtime.InteropServices.COMException (0x800401F3): Ungültige Klassenzeichenfolge (Ausnahme von HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) \\ n bei System. RuntimeTyp e.GetTypeFromProgIDImpl (String progID, String-Server, Boolean throwOnError) \\ n in Wolfram.NETLink.Internal.COM.COMUtilities.createCOMObject (String clsIDOrProgID) \\ n in Wolfram.NETLink.Internal.CallPacketHandler.createCOM (KernelLinkImpl ml) \ ")."

Ich installierte .net Framework 4 auf Win 7 x64. Ist es ein .Net-Framework-Fehler?

Antwort

0

Es wurde durch Neuinstallation von MATLAB gelöst.