MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   找不到库“ powerlib” matlab。 Simulink程序执行 (https://www.labfans.com/bbs/showthread.php?t=24017)

poster 2019-12-10 20:48

找不到库“ powerlib” matlab。 Simulink程序执行
 
当我尝试在R2009a Matlab下运行Simulink程序时,它显示一条错误消息,如下所示:无法找到由“ dcmotor_openloop / Armature Current”引用的库“ powerlib”。该库必须在您的MATLAB路径上。

我想知道在哪里可以找到这个powerlib。



[B]回答:[/B]

作为[URL="https://stackoverflow.com/questions/3957073/failed-to-find-library-powerlib-matlab-simulink-program-executing/3957331#3957331"]@Edric[/URL]提到, powerlib内置SimPowerSystems的。因此,您看到的错误可能有两个原因

(1)Matlab副本中未安装SimPowerSystems。在命令提示符下键入ver ,以检查是否安装了哪些工具箱。如果SimPowerSystems没有出现在列表中,则必须获得工具箱,否则将无法运行模型。

(2)您安装的SimPowerSystems已损坏。到目前为止,这在Matlab上从未发生过,但是使用现代技术,一切皆有可能。全新安装应该可以解决此问题。



[url=https://stackoverflow.com/questions/3957073]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:26

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.