Filter löschen
Filter löschen

Error while running Motion-Solve FMU model in Simulink

7 Ansichten (letzte 30 Tage)
Maor Kletter
Maor Kletter am 29 Mai 2023
Kommentiert: Maor Kletter am 12 Jun. 2023
Hello,
I would like to run Motion-Solve model(Altair) via Simulink using FMU model. I used FMU import in Simulink and then run the model with scope in the output.
The error showed in the log file is:
# Debug Logging enabled for block 'untitled/FMU'
Log from FMU: [category:log, status:fmi2Error]
Error: Failed to load mscicos.dll

Akzeptierte Antwort

Anurag Ojha
Anurag Ojha am 6 Jun. 2023
Hello Maor,
Based on the error message, it seems that there is an issue with loading the required mscicos.dll file for the Motion-Solve solver when running the FMU model in Simulink. This can occur for various reasons, but there are a few steps you can take to troubleshoot and resolve this issue:
  1. Make sure that the mscicos.dll file is present in the same directory as the FMU file. You can check this by navigating to the folder containing the FMU file and ensuring that the mscicos.dll file is present there.
  2. Try adding the directory containing the mscicos.dll file to the system's PATH variable. This can be done by following the steps outlined in this article: https://www.architectryan.com/2018/03/17/add-to-the-path-on-windows-10/
  3. If none of the above step's work, try reinstalling the Motion-Solve software.
For more information refer to following MATLAB documentation:
Hope it helps!
  2 Kommentare
Maor Kletter
Maor Kletter am 11 Jun. 2023
Hey, Thanks for your elaborate answer.
Regard section 1 mscicos.dll is located in where Motion-Solve is installed motionsolve\bin\win64. I cannot copy it to other directory as you suggested. Please explaine again what should I do in section 1.
Maor Kletter
Maor Kletter am 12 Jun. 2023
Thank you what you recommended in section 2 of your answer(Try adding the directory containing the “mscicos.dll” file to the system's PATH variable) solved my problem an now it is works!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu RF Blockset Models for Transceivers finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by