FMU dll not found

4 ビュー (過去 30 日間)
Jefferson Romney
Jefferson Romney 2020 年 12 月 23 日
回答済み: Jefferson Romney 2020 年 12 月 23 日
I am trying to run a hello-world fmu by importing into a simulink model.
I can load the FMU into the FMU block and it gets the inputs and outputs correctly:
Then when I try and run the simulation I get this error:
Error in supplied FMU: Unable to load dynamic library 'C:\Users\jeffy\Documents\FLE\Sandbox\FMUTesting\slprj\_fmu\e15072005f8629a8def2ffec2d706186\PythonSlave\binaries\win64\PythonSlave.dll': The specified module could not be found.
That dll definitely exists and it is definitely a 64-bit dll

採用された回答

Jefferson Romney
Jefferson Romney 2020 年 12 月 23 日
Turns out it was the python core dll that PythonSlave.dll calls. I hadn't restarted matlab after adding the python path to my system environment so Matlab didn't know where to find the underlying python dll.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCreate Standalone FMU についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by