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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Produkte

Version

R2025a

Gefragt:

am 11 Jul. 2025

Kommentiert:

am 21 Jul. 2025

Community Treasure Hunt

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

Start Hunting!

Translated by