visdiff in MATLAB 2025a does not highlight diff between two simulink files

I was using visdiff regularly with MATLAB 2023b to create html diff vbiew between two simulink files and it would highlight changes/additions/deletions in different colors. But since I updated to MATLAB 2025a it seems the highlight of changes does not show up anymore. Has anyone experience this and found a solution?

댓글 수: 3

Hi,
sorry to hear about the troubles. I have just tried and it works for me, but this is unlikely to help you.
Do you encounter this with any two Simulink models or just specific ones? If it is the latter, could you share those models? You can possibly trim them down so that you don't need to share much but we can still reproduce the issue.
Even if we can reproduce it, we may not be able to fix the issue here. If there is no resolution here, please consider contacting Technical Support for this matter: https://www.mathworks.com/support/contact_us.html
Best wishes,
Harald
Hi Harald,
Thanks for your reply. I created a simple dummy model and confirmed that the issue is still there. I have zipped the models and a section of script I used to generate the html diff view together. Please let me know if you find any solution. thanks.
Hi Daidipya,
sorry, I had not realized that you are using a published view. In that view, I also do not get highlighting. I recommend contacting Technical Support to see if they can offer a solution: https://www.mathworks.com/support/contact_us.html
For the moment, it may help to look at the diff view directly as this has highlighting:
visdiff('counter_ancestor.slx','counter.slx')
Best wishes,
Harald

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

제품

릴리스

R2025a

질문:

2025년 7월 11일

댓글:

2025년 7월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by