![]() |
![]() |
|
PLS_Toolbox Documentation: comparevars | < comparelcms_simengine | compressmodel > |
comparevars
Purpose
Compares two variables of any type and returns differences.
Synopsis
[status,msg] = comparevars(a,b,options)
Description
Given any two variables a and b, COMPAREVARS looks for any differences. This function operates on any standard Matlab data type or a DataSet object and does not give an error when variables of two different types are passed..
With no outputs, the differences between the variables (or "None Found") is displayed. With one output, the boolean result of the comparison status is returned (1 = variables are completely equivalent). With two outputs, the comparison result is returned and a cell array of strings is returned listing the differences as a description msg.
Options
See Also
< comparelcms_simengine | compressmodel > |