Using an old Simulink differ config in v1.8


#1

I have an old .config file that I used in previous versions: before V1.8. I cannot import the file now into 1.8.


#2

Sorry you’re having this problem! DiffPlug doesn’t have a great mechanism for migrating configurations when breaking changes are required, but it’s something we’re working on. In the meantime, it’s easy to perform the migration by hand.

If you open your config in a text editor, you should see something like this:

<?xml version="1.0" encoding="utf-8"?>
<simulinkconfig v="2">
	<ignoreIfLineIdentTopo value="true"/>
	<requireBlockTypeExact value="true"/>
	...
</simulinkconfig>

You can update this for usage within v1.8 by making these changes:

  • change <simulinkconfig v="2"> to <simulinkconfig v="3">
  • add <mode value="ignoreIfAllMatch"/> right underneath of simulinkconfig

The end result should look like something like this:

<?xml version="1.0" encoding="utf-8"?>
<simulinkconfig v="3">
	<mode value="ignoreIfAllMatch"/>
	<ignoreIfLineIdentTopo value="true"/>
	<requireBlockTypeExact value="true"/>
	...
</simulinkconfig>

#3

This issue has been fixed permanently in 1.8.1. No more manual editing required.