shadowed files on simulink

7 次查看(过去 30 天)
Youngjin
Youngjin 2024-4-24
回答: Angelo Yeo 2024-4-24
The file containing block diagram 'HEV_TMED_Simulator_V12' is missing. A different file of the same name exists on the MATLAB path. This can cause unexpected behavior. For more information see "Avoiding Problems with Shadowed Files" in the Simulink documentation.
The missing file is: D:\10.Task\2024\1.HEV 해석\JX1 T4대응\해석 재료\통합스크립트\HEV_TMED_Simulator_V12.slx.
The file on the MATLAB path is: D:\10.Task\2024\1.HEV 해석\PHEV 대비 xEV 연비 비교 검토\해석 재료\통합스크립트\HEV_TMED_Simulator_V12.slx
how can i solve this

回答(1 个)

Angelo Yeo
Angelo Yeo 2024-4-24
I think the doc below explains this very well.
Let's call two files
D:\10.Task\2024\1.HEV 해석\JX1 T4대응\해석 재료\통합스크립트\HEV_TMED_Simulator_V12.slx
as file A and
D:\10.Task\2024\1.HEV 해석\PHEV 대비 xEV 연비 비교 검토\해석 재료\통합스크립트\HEV_TMED_Simulator_V12.slx
as file B.
So the problem is that MATLAB can't find file A. However, file B exists with the same file name and its path is added as one of MATLAB Path.

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by