MATLAB COMPILER RELEASE NOTES Guide de l'utilisateur Page 435

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 716
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 434
Programming Fundamentals
17-27
'crc'
'commdevice'
'commsrc'
'commgui'
'commscope'
'commutils'
You can also call what on a specific package name to see what types of directories and
files are in the package directory.
See the function reference page for what for more information.
addtodate Accepts Hours, Minutes, Seconds, Milliseconds
In previous releases, the addtodate function supported modifying a date number by a
specified number of years, months, or days. In this release, you can also modify the date
by a specified number of hours, minutes, seconds, or milliseconds.
Add 2 hours, 45 minutes, and 17 seconds to the current time:
d1 = now;
datestr(d1)
ans =
12-Jun-2008 16:15:38
d2 = addtodate(d1, 2, 'hour');
d2 = addtodate(d2, 45, 'minute');
d2 = addtodate(d2, 17, 'second');
d2 = addtodate(d2, 3000, 'millisecond');
datestr(d2)
ans =
12-Jun-2008 19:00:58
See the function reference page for addtodate for more information.
Querying Options Added to pause
There are new syntaxes for the pause function:
To see whether pausing is enabled or not, use one of the following commands:
Vue de la page 434
1 2 ... 430 431 432 433 434 435 436 437 438 439 440 ... 715 716

Commentaires sur ces manuels

Pas de commentaire