| ... | ... | @@ -2,6 +2,53 @@ This page lists changes introduced in MATLAB versions that are the most |
|
|
|
relevant to Dynare development. This information mostly comes from the [MATLAB
|
|
|
|
Release Notes](https://fr.mathworks.com/help/matlab/release-notes.html).
|
|
|
|
|
|
|
|
# MATLAB 24.2 (R2024b)
|
|
|
|
|
|
|
|
- New [package manager](https://www.mathworks.com/help/matlab/matlab_prog/use-the-matlab-package-manager-to-organize-and-distribute-code.html)
|
|
|
|
- New `isapprox` function for determining approximate equality of elements in two arrays
|
|
|
|
- New `RegularizationFactor` name-value argument to the `lsqminnorm` function,
|
|
|
|
for Tikhonov regularization to the least-squares solution
|
|
|
|
- Many I/O functions can now directly read data online using an HTTP/HTTPS URL,
|
|
|
|
notably:
|
|
|
|
+ `isfile`, `dir`, `copyfile`, and `exist`
|
|
|
|
+ `fopen`, `fread`, `fgets`, `fgetl`, `feof`, `fclose`, `ferror`, `fseek`, `ftell`, `fscanf`,
|
|
|
|
`frewind`, and `fileread`
|
|
|
|
+ `h5disp`, `h5info`, `h5read`, `h5readatt`, `H5F.open`, and `H5F.is_hdf5`
|
|
|
|
- Dictionaries in JSON files can now be read and written using the
|
|
|
|
`readdictionary` and `writedictionary` functions
|
|
|
|
- Symbolic links support
|
|
|
|
+ new `createSymbolicLink` and `isSymbolicLink` functions
|
|
|
|
+ new `ResolveSymbolicLinks` name-value argument with the `delete` and
|
|
|
|
`rmdir` functions
|
|
|
|
+ new `CopyLinkBehavior` name-value argument with the `copyfile` function
|
|
|
|
+ new `MoveLinkBehavior` name-value argument with the `movefile` function
|
|
|
|
- When reading spreadsheet files, the behavior for merged cells can now be
|
|
|
|
controlled using new `MergedCellColumnRule` and `MergedCellRowRule`
|
|
|
|
name-value arguments of `readtable`, `readtimetable`, `readmatrix`,
|
|
|
|
`readcell`, `readvars` and `detectImportOptions`
|
|
|
|
- The `zip` and `unzip` functions now support password-encrypted files
|
|
|
|
- The `sftp` function now accepts a timeout value and supports passphrases and
|
|
|
|
certificates
|
|
|
|
- The `summary` function now works on array data, including `numeric`, `logical`,
|
|
|
|
`datetime`, `duration`, and `calendarDuration` types
|
|
|
|
- The `isbetween` function now works on numeric, nonnumeric, or tabular input data
|
|
|
|
- The `rmmissing` and `rmoutliers` functions now accept an argument for
|
|
|
|
defining the location of missing entries or outliers using array or table
|
|
|
|
- The `table` and `timetable` data types now have a `VariableTypes` property
|
|
|
|
for specifying the data types of their variables
|
|
|
|
- New `violinplot` function for creating violin plots for grouped numeric data
|
|
|
|
- New `compassplot` function to plot one or more sets of arrows originating
|
|
|
|
from the origin in polar coordinates
|
|
|
|
- New `constantplane` function to create infinite planes for highlighting
|
|
|
|
regions of interest in 3-D plots
|
|
|
|
- New `IconColumnWidth` property of a `Legend` object for controlling the width
|
|
|
|
of the legend icons and the width of the legend box
|
|
|
|
- New `Labels` and `LabelLocation` properties of a `Bar` object for adding
|
|
|
|
labels to ends of bars in bar charts
|
|
|
|
- The `tiledlayout` can now be called without dimensions or tile arrangement
|
|
|
|
argument
|
|
|
|
- The MAT-file version can now be specified with the `savefig` function
|
|
|
|
|
|
|
|
# MATLAB 24.1 (R2024a)
|
|
|
|
|
|
|
|
- Local functions can now be defined anywhere in scripts
|
| ... | ... | |
| ... | ... | |