# What’s New in UniPlot 5.10.2¶

This page describes the changes made to UniPlot 5.10.2 since version 5.10.1.

## Enhancements¶

- Import of MATLAB Data Files: The function can read older MAT-4 files as well as files saved in Big-Endian byte order. A number of bugs have been fixed. See also Overview MATLAB Files.
- Data points with almost identical x/y-coordinates will be removed from XYZ datasets. In older versions the interpolation function sometimes failed if the datasets contained points with almost identical x/y data points.
- For XYZ datasets with a large number of data points a point reduction will be performed. This speeds up the loading of these datasets significantly or makes it possible to load the data into a XYZ dataset. See reduce3d).

## New UniScript Functions¶

New Functions in UniPlot 5.10.2 | |
---|---|

XYZFilterCallback | XYZFilterCallback will be invoked in XYZCreate to remove unwanted data points. |

reduce3d | reduce3d removes data points from an x/y/z dataset. |

## Modified UniScript Functions¶

The changes are listed in the history table at the end of the function description.

Modified Functions in UniPlot 5.10.2 | |
---|---|

matlab_load | matlab_load loads a MATLAB file (mat file) into a UniScript object. |

## Bug Fixes¶

The following bugs have been fixed:

- (ID2078): Data Import: The Import function in UniPlot 5.10.x contained a bug. While checking if a data file was a MATLAB file, the file was opened but not closed again. If an Excel file was imported, the file could not be accessed with Excel while UniPlot was running.
- (ID2085): matlab_load: MAT files with 3, 5, 7,..-dimension arrays could not be read.
- (ID2088): matlab_load: MAT files with array of structures could not be read.
- (ID2090): In UniPlot-5.10.x some country specific resource DLLs were missing, therefore UniPlot would display some messages in English.
- (ID2111): Data exchange of 3D datasets: The fill color between the isolines could get lost if the standard autoscale function was selected. This bug only occurred in UniPlot 5.10.1.
- (ID2114): XYCopy: The function did not copy the scaling settings correctly (offset and factor). This could bug occurred in the data magnifying function.
- (ID2109): The ifft function contained a bug if the function was
invoked with a matrix instead of a vector. Example:
`f = fft([1,2,3;4,5,6]'); ifft(f)`

. - (ID2115): The fspline function looped infinitely for some data.
- (ID2116): A UniPlot page embedded in a document, e. g. PowerPoint could not be edited correctly (OLE). While closing UniPlot, UniPlot crashed and would not be finished correctly.
- (ID2118): 3D bars:: Bars in a 3D diagram that were clipped at z-max were not filled with the correct color. The bar was filled with the color corresponded to the z-max value.
- (ID2119): If matlab_load was invoked with a Non MATLAB file, the file was opened but not closed.

_{id-88594}