시뮬링크 프로젝트 실행 오류는 어떻게 해결해야 하나요?
Afficher commentaires plus anciens
경고: rtwTargetInfo 파일 "D:\matlab\toolbox\coder\compile\rtwTargetInfo.m"'을(를) 실행하는 중 오류가 발생함:
이름 'coder.make.internal.featureOn'을(를) 확인할 수 없습니다.
> coder.targetreg.internal/TargetRegistry/registerTargetInfosOnPath
coder.targetreg.internal.TargetRegistry.initialize에서
coder.targetreg.internal.TargetRegistry.getWithoutDataLoad에서
RTW.TargetRegistry.getInstance에서
slCustomizer/refresh에서
slCustomizer.callRefresh에서
slCustomizer>@()slCustomizer.callRefresh()에서
slCustomizer.staticRefresh에서
Simulink.start_simulink에서
connector.internal.fevalMatlab에서
connector.internal.fevalJSON에서
새 프로젝트를 만들려고 하는데, 계속 이런 메시지가 뜹니다. 뭐가 원인인가요?
Réponses (1)
Ritam
le 15 Avr 2026 à 10:10
This warning is happening before your project is even created, it occurs when Simulink starts up and refreshes Simulink customizations, which includes scanning the MATLAB path for “rtwTargetInfo.m” files and registering any code-generation targets/toolchains it finds.
In your message, Simulink is trying to execute this file:
D:\matlab\toolbox\coder\compiler\rtwTargetInfo.m
and that file calls an internal function:
coder.make.internal.featureOn
but MATLAB cannot find that function. That typically means a version / installation mismatch within the Coder toolboxes.
If your workflow does not involve code generation, these warnings can be safely ignored. If needed, you can reset Simulink customizations and code‑generation registration by running
>> sl_refresh_customizations
>> RTW.TargetRegistry.getInstance('reset')
>> rehash toolboxcache
and then restarting Simulink ("start_simulink").
If the warning persists even after the above recommended steps, you can reach out to Mathworks Technical Support through the below link: https://in.mathworks.com/company/aboutus/contact_us.html
Catégories
En savoir plus sur 대규모 모델링 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!