필터 지우기
필터 지우기

Error while running Motion-Solve FMU model in Simulink

조회 수: 7 (최근 30일)
Maor Kletter
Maor Kletter 2023년 5월 29일
댓글: Maor Kletter 2023년 6월 12일
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

채택된 답변

Anurag Ojha
Anurag Ojha 2023년 6월 6일
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
Maor Kletter
Maor Kletter 2023년 6월 11일
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 2023년 6월 12일
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!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 RF Blockset Models for Transceivers에 대해 자세히 알아보기

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by