MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guide de l'utilisateur Page 120

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 386
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 119
3 Code Generation and the Build Process
3-38
File and Function Splitting
To support compilers with file size limitations, the Real-Time Workshop
provides support for splitting the source code whenever the code size exceeds a
specified threshold. This option is available with the generic real-time (
grt),
embedded-C (
ert), and rapid simulation (rsim) targets. These targets support:
File splitting
Function splitting
File and function splitting
Both file and function splitting require at least Perl v5.000. The MathWorks
ships Perl with MATLAB on PC platforms. For UNIX platforms, you must
provide the Perl binary; that is, you must place Perl on your path. Perl is
available from
http://www.perl.com.
File Splitting
Generated source files may have too many lines of code. File splitting provides
a way to reduce file size. You can control file splitting by specifying a function
sizethresholdonthe
Code Generation Options dialog box.
File splitting is controlled by the TLC variable
FileSizeThreshold,whichby
default is set to 5000 lines.
Select File Splitting from the
Function Management pull-down
menu.
Specify the
File Split Threshold.
This can be any positive integer.
The
Show eliminated statements
check box is disabled when file
splitting occurs.
Vue de la page 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 385 386

Commentaires sur ces manuels

Pas de commentaire