# char

## PURPOSE

TEMPLATE Convert a template object in a one line description string

## SYNOPSIS

function s = char(tpl)

## DESCRIPTION

    TEMPLATE Convert a template object in a one line description string
      S = CHAR(TPL) is a class convertor from Template to a string, used
      in online display.

      See also DISPLAY

## CROSS-REFERENCE INFORMATION

This function calls:

This function is called by:

- display TEMPLATE Display a template object in Matlab window
- get TEMPLATE/GET Access data stored in a Template object
- doxyread DOXYREAD Read a 'search.idx' file generated by DOXYGEN
- doxysearch DOXYSEARCH Search a query in a 'search.idx' file

## SOURCE CODE

    0001 function s = char(tpl)
    0002 %TEMPLATE Convert a template object in a one line description string
    0003 %  S = CHAR(TPL) is a class convertor from Template to a string, used
    0004 %  in online display.
    0005 %
    0006 %  See also DISPLAY
    0007
    0008 %  Copyright (C) 2003 Guillaume Flandin <Guillaume@artefact.tk>
    0009 %  $Revision: 1.0 $Date: 2003/05/05 22:19:51 $
    0010
    0011 s = ['Template Object: root ''',...
    0012         tpl.root,''', ',...
    0013         num2str(length(tpl.file)), ' files, ',...
    0014         num2str(length(tpl.varkeys)), ' keys, ',...
    0015         tpl.unknowns, ' unknowns.'];