MATLAB COMPILER RELEASE NOTES Guía de usuario Pagina 183

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 182
%#external
7-5
7%#external
Purpose Pragma to call arbitrary C/C++ functions from your M-code.
Syntax %#external
Description The %#external pragma informs the Compiler that the implementation
version of the function(
Mf) will be hand written and will not be generated from
the M-code. This pragma affects only the single function in which it appears,
and any M-function may contain this pragma(local, global, private, or method).
When using this pragma, the Compiler will generate an additional header file
called
file_external.h or file_external.hpp, where file is the na m e of the
initial M-file containing the
%#external pragma. This header file will contain
the
extern declarationofthefunctionthattheusermustprovide.Thisfunction
must conform to the same interface as the Compiler-generated code. For more
information on the
%#external pragma, see “Interfacing M-Code to C/C++
Code” in Chapter 5.
Vista de pagina 182
1 2 ... 178 179 180 181 182 183 184 185 186 187 188 ... 263 264

Comentarios a estos manuales

Sin comentarios