Clear Filters
Clear Filters

shadowed files on simulink

8 views (last 30 days)
Youngjin
Youngjin on 24 Apr 2024
Answered: Angelo Yeo on 24 Apr 2024
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

Answers (1)

Angelo Yeo
Angelo Yeo on 24 Apr 2024
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.

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!