Error reported by S-function 'sfun_rtlab_comm'
显示 更早的评论
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
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
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!