MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Guide de l'utilisateur Page 303

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 575
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 302
list
Purpose Information listings from CCS
Syntax list(ff,varname)
infolist = list(cc,'
type')
infolist = list(cc,'
type',typename)
Note list(cc,type) produces an error.
Description list(ff,varname) lists the local variables associated with
the function accessed by function object
ff.Compareto
list(cc,'variable','varname') which w orks the same way to return
variables from
ticcs object cc.
Note list does not recognize or return information about variables
that you declare in your code but that are not used or initialized.
Some restrictions apply when you use list with function objects. list
generates an error in the follow ing circumstances:
When
varname is not a valid input argument for the function accessed
by
ff
Forexample,ifyourfunctiondeclarationis
int foo(int a)
but you request i nform ation about input argum ent b, which is not
dened
list(ff,'b')
MATLAB software returns an erro r.
When
varname is the same as a variable assigned by MATLAB
software. Usually this happens when you use
declare to pass
7-81
Vue de la page 302
1 2 ... 298 299 300 301 302 303 304 305 306 307 308 ... 574 575

Commentaires sur ces manuels

Pas de commentaire