matlabshared.supportpkg.checkForUpdate

List of support packages that can be updated

Syntax

  • matlabshared.supportpkg.checkForUpdate
  • info = matlabshared.supportpkg.checkForUpdate

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.

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

Examples

expand all

Check for support package updates

matlabshared.supportpkg.checkForUpdate
No support packages need updates.

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

Get a structured array of support package updates

info = matlabshared.supportpkg.checkForUpdate
info = 

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

Output Arguments

expand all

info — Return argument from functionstructure created using matlabshared.supportpkg.checkForUpdate

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

Was this topic helpful?