About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

scripts default iconmfilecompare (Scripts) Publisher's description

This function was designed to analyze and display the overlap of the content of a given set of m-files

This function was designed to analyze and display the overlap of the content of a given set of m-files.
A figure will open containing 2 plots (see screenshot). In the left plot the relative overlap of any two files is represented by fields in shades of gray ranging from black (0% overlap) to white (100% overlap). The right plot for each file displays the number of characters of the code part (black) and the comment part(green).

For the analysis of the overlap of (A,B), A is divided into chunks of a given number of characters and each chunk is checked for a match in B. The overlap of (A,B) thus reflects how much of A is found in B, which is not identical to the overlap of (B,A).
The analysis can focus on the entire content, the code or the comments only (settable in a pop-up menu in the lower left corner).

How to use it:
Simply run this function. As an optional input argument you can define the chunk size (default = 10 characters). You will be requested to select a directory containing the files you wish to compare. After that, the analysis figure will be displayed.
For any combination of two files you can access more detailed information (displayed in the text field at the bottom of the figure) by moving the mouse over the respective fields in the plot. By clicking on any field in the left plot the relevant m-files will be opened in the Matlab editor.

I use this function in my Matlab course to check assignments for the amount of collaboration and plagiarism.

System Requirements:

MATLAB 7.6 (R2008a)
Program Release Status: New Release
Program Install Support: Install and Uninstall

mfilecompare (Scripts) Tags:

Click on a tag to find related softwares

Is mfilecompare (Scripts) your software?

Manage your software

Most Popular

scripts default icon ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation
scripts default icon Simulink Communication Labs 1.1
Simulink Communication Labs allows you to learn communication systems in greater depth.
scripts default icon M-QAM modulation and demodulation 1.1
M-QAM modulation and demodulation is the QAM modulation and demodulation tech.
scripts default icon LZW Compression/Decompression 1.1
LZW Compression/Decompression - Updated LZW compressor and decompressor with reasonable performance
scripts default icon InSPIRE utility to plot a 2D displacement field (Scripts) 1.0
This program plots the deformation field (displace vectors) contained in vector.txt.