hello everyone , i want to ask you about this error and how to fix it
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Error reported by S-function 'sfun_rtlab_comm' in 'dj_1/SM_PV/OpComm/OpComm': The file '.\Opcommon\dj_1.Comm' was not created
i had model in simulink and work normaly , just whene i want to add the OpComm to the inputs of my model to run it on RT-LAB simulator
i had this message of error and whene i delete those OpComms the model work perfectly
So what should i do , i serched in the internet and couldn't find any solution
NB: those OpComm are mondatory to run the model in the RT-LAB
thanks

답변 (2개)

SHUBHANKAN MUKHERJEE
SHUBHANKAN MUKHERJEE 2020년 2월 15일
편집: SHUBHANKAN MUKHERJEE 2020년 2월 15일

0 개 추천

Thank you for your query.
I am not exactly sure as to why this occurs, but in case your project file is on a different path then you might face this issue.
Try placing your Simulink (.mdl file) model in the RT-LAB folder on the C drive (C:\). It should resolve this issue.
Hope this helps.
Jaime Turanzas Solivellas
Jaime Turanzas Solivellas 2023년 2월 21일

0 개 추천

Hello,
Iam going through the same problem but the proposed answer doesn`t solve it, My .mdl is in the proper path (workspace/folder of the project) as others projects that are working correctly.
Despite it's been a while since last reply, it would be great if someone know any other reason this is happening.
Thank you in advance

카테고리

도움말 센터 및 File Exchange에서 Schedule Model Components에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2020년 2월 6일

답변:

2023년 2월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by