Simlink and Solidworks

4 ビュー (過去 30 日間)
Michael Samaan
Michael Samaan 2012 年 4 月 13 日
I have installed the Simlink utility tool on my computer. I am running Windows 7, Matlab 2010a and Solidworks 2011. When trying to link the utility by typing "smlink_linksw" into the command window, I obtain the error: The module "C:\MATLAB\R2010a\bin\win32\cl_sldwks2sm.dll" was loaded but the call to DllRegisterServer failed with error code 0x80070005.
Is this a compatibility issue between the Simlink utility and/or Windows 7? Could it be a permissions issue on my computer?
Thanks, Mike

回答 (1 件)

Kaustubha Govind
Kaustubha Govind 2012 年 4 月 13 日
This page suggests that admin privileges are needed when running DllRegisterServer. If you are already logged in as admin, I would recommend starting MATLAB with "Run as Administrator" the first time that you run the "smlink_linksw" command. Hopefully, DllRegisterServer will not need to be run on subsequent calls.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by