cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when check-in a .mdl MATLAB Simulink file

amatei
12-Amethyst

Problem when check-in a .mdl MATLAB Simulink file

Hello,

 

We are using PTC Integrity 11.0.0.506, API Version  4.16.506

We have a  .mdl MATLAB Simulink file which appears to be an ASCII text file

 

https://www.mathworks.com/matlabcentral/answers/46400-how-to-view-mdl-files

However when a check-in is attempted, the following message box appears: 

(please see the attached file)


The working file Strategy.mdl exceeds the size limit for storing revisions by delta
within an archive.

In order for this check in to proceeed, the archive must be converted to store references to complete
contents of each revision

The check in will be cancelled if the conversion is not allowed to occur.

Do you want to automatically convert the archive into store-by-reference format prior to the check in ?

Yes - Yes to All - No - No to All - Cancel

1 ACCEPTED SOLUTION

Accepted Solutions
MichaelChatel
20-Turquoise
(To:amatei)

Hi Amatei,

 

How large is the Matlab .mdl file?  How many MB?

 

You're seeing this message, because there is a configurable size-limit for storing revisions by "delta" for an archive.  The larger these files are, the more memory they consume in trying to calculate and store the delta, and the larger the files are, the less useful those "deltas" become.  When the files get big enough, that's why they recommend to store as binary instead.

 

Here's a relevant knowledge article on this setting:

https://www.ptc.com/en/support/article?n=CS135637

View solution in original post

3 REPLIES 3
MichaelChatel
20-Turquoise
(To:amatei)

Hi Amatei,

 

How large is the Matlab .mdl file?  How many MB?

 

You're seeing this message, because there is a configurable size-limit for storing revisions by "delta" for an archive.  The larger these files are, the more memory they consume in trying to calculate and store the delta, and the larger the files are, the less useful those "deltas" become.  When the files get big enough, that's why they recommend to store as binary instead.

 

Here's a relevant knowledge article on this setting:

https://www.ptc.com/en/support/article?n=CS135637

Hi,

The .mdl file is not big but has 41 revisions in the file member history

Please see the attached file. Does it help to check the [ ] Store by reference checkbox ?

 

amatei
12-Amethyst
(To:amatei)

Hi,

 

I have found the reason why the message box mentioned above appears

It is not related to how numerous the file history is, it doesn't matter that there are 41 revisions with frequent merge operations.

The reason is this:

- the most recent revision has ~ 6 MB, but the file I am trying to check-in has ~ 19 MB.

- because there are too many differences between the two files, MKS will display that message box when a check-in is performed

 

Announcements