Error reported by S-function 'sfun_rtlab_comm'
Afficher commentaires plus anciens
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
Réponses (2)
SHUBHANKAN MUKHERJEE
le 15 Fév 2020
Modifié(e) : SHUBHANKAN MUKHERJEE
le 15 Fév 2020
0 votes
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
le 21 Fév 2023
0 votes
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
Catégories
En savoir plus sur Schedule Model Components dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!