Main Content

matlabshared.supportpkg.checkForUpdate

(Not recommended) List of support packages that can be updated

checkForUpdate will be removed in a future release. To check for updates to support packages, go the MATLAB® Home tab, in the Environment section, click Help > Check for Updates.

Description

matlabshared.supportpkg.checkForUpdate displays information about support package updates in the MATLAB Command Window. If an update is available, use supportPackageInstaller to install the updates.

example

info = matlabshared.supportpkg.checkForUpdate returns a structured array of information about installed support packages.

Examples

collapse all

matlabshared.supportpkg.checkForUpdate
No support packages need updates.

If one or more updates are available, the command line displays that information in the response.

info = matlabshared.supportpkg.checkForUpdate
info = 

                Name: 'Arduino'
    InstalledVersion: '3.0'
         BaseProduct: 'Simulink'

Output Arguments

collapse all

Information about support package updates, returned as a structured array.

Version History

Introduced in R2014b

collapse all

R2017a: Not recommended

matlabshared.supportpkg.checkForUpdate is not recommended. To check for updates to support packages, go the MATLAB Home tab, in the Environment section, click Help > Check for Updates.

For more information, see Get and Manage Add-Ons.