Many
Manuals
search
Kategorien
Marken
Startseite
MATLAB
Software-Handbücher
COMPILER RELEASE NOTES
Betriebsanweisung
MATLAB COMPILER RELEASE NOTES Betriebsanweisung Seite 264
Herunterladen
Teilen
Teilen
Zu meinen Handbüchern hinzufügen
Drucken
Seite
/
264
Inhaltsverzeichnis
FEHLERBEHEBUNG
LESEZEICHEN
Bewertet
.
/ 5. Basierend auf
Kundenbewertungen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
Index
I-10
wrapper
file
1-7
MEX
1-
7
target
types
1-13
wrapper
function
5-20
X
-x
option
flag
7-37
Y
-Y
option
flag
7-45
-y
option
flag
3-9,
7-42
Z
-z
option
flag
7-46
1
2
...
259
260
261
262
263
264
MATLAB Compiler
1
How to Contact The MathWorks:
2
Controlling Code Generation
6
Error and Warning Messages
9
Contents
10
Introducing the
11
Introduction
12
Optimizations
13
Additional Language Support
15
Running Compiler from MATLAB
15
Uses of the Compiler
17
C Stand-Alone Applications
19
C++ Stand-Alone Applications
19
The MATLAB Compiler Family
22
Generated Code Types
22
Generated Wrapper Types
22
Target Types
22
Why Compile M-Files?
24
Compatibility
26
Installation
26
Changed Library Name
26
Changed Data Type Names
26
Limitations and Restrictions
27
Stand-Alone Applications
28
Installation and
31
Configuration
31
UNIX Workstation
35
Compiler Options Files
36
Locating Options Files
37
ANSI C or C++ Compiler
38
Things to Be Aware of
38
Choosing a Compiler
38
Changing Compilers
39
Creating MEX-Files
40
Verifying from MATLAB
42
Microsoft Windows on PCs
44
Using an IDE
53
Troubleshooting
56
Troubleshooting the Compiler
58
Getting Started
59
How the Function Works
61
Invoking the M-File
62
Invoking the MEX-File
63
Compiler Options and Macros
65
Using the -S Option
66
Using the -u and -y Options
67
Sample Time
67
Data Type
68
Stand-Alone
71
Applications
71
MEX-Files
73
Overview
75
Introducing mbuild
77
Using the System Compiler
79
Locating Shared Libraries
82
Running Your Application
83
About the mbuild Script
85
Shared Libraries
92
Add-ins and Macro Files tab
95
Building Shared Libraries
97
4 Stand-Alone Applications
100
Coding with M-Files Only
101
Mixing M-Files and C or C++
107
The Build Process
108
An Explanation of mrankp.c
111
An Explanation of This C Code
114
Controlling
117
Code Generation
117
5 Controlling Code Generation
118
Code Generation Overview
119
Sierpinski Gasket M-File
119
The Generated Header Files
124
C++ Header File
125
Internal Interface Functions
127
Interface Function
127
Supported Executable Types
136
POSIX Main Wrapper
137
Simulink S-Functions
139
C Libraries
139
Default Width
145
Setting Indentation Spacing
147
Modified Indentation
149
Comments Annotation
150
All Annotation
151
Include #line Directives
153
Using feval
158
Compiling MEX-Files
159
Print Handlers
160
Registering a Print Handler
161
Writing a Print Handler
161
Example Files
164
Registering the Print Handler
165
Building the Executable
167
Testing the Executable
167
Optimizing Performance
169
6 Optimizing Performance
170
Optimization Bundles
171
Turn On All Optimizations
171
Turn Off All Optimizations
171
List All Optimizations
172
Optimizing Arrays
173
Optimizing Loops
175
Optimizing Conditionals
178
Reference
179
Command Line Tools
181
Compiler pragmas
182
, %#function,and%#mex
182
7%#external
183
Syntax %#external
183
7%#function
184
Purpose feval pragma
184
Purpose mex pragma
185
Syntax %#mex
185
Functions
186
Syntax mbchar(x)
187
Description The statement
187
Syntax mbcharscalar(x)
188
Syntax mbcharvector(x)
189
Syntax mbint(n)
190
, mbintvector, mcc
191
Syntax mbintscalar(n)
192
See Also mbint, mbscalar, mcc
192
Syntax mbintvector(n)
193
Syntax mbreal(n)
194
Syntax mbrealscalar(n)
195
Syntax mbrealvector(n)
196
Syntax mbscalar(n)
197
Syntax mbvector(n)
198
7reallog
199
Syntax Y = reallog(X)
199
7realpow
200
Syntax Z = realpow(X,Y)
200
7realsqrt
201
Syntax Y = realsqrt(X)
201
Command Line Syntax
208
Setting Up Default Options
210
Handling Full Pathnames
212
Compiling Embedded M-Files
213
Macro Options
214
Code Generation Options
216
Quick Reference
227
Common Uses of the Compiler
228
Specifies path for library
233
Displays help message
233
Error and Warning
235
Messages
235
B Error and Warning Messages
236
Compile-Time Errors
237
Warning Messages
247
Run-Time Errors
253
-x option flag 7-37
264
-Y option flag 7-45
264
-y option flag 3-9, 7-42
264
-z option flag 7-46
264
Kommentare zu diesen Handbüchern
Keine Kommentare
Publish
Verwandte Produkte und Handbücher für Software-Handbücher MATLAB COMPILER RELEASE NOTES
Software-Handbücher MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH ALTIUM TASKING Spezifikationen
(67 Seiten)
Software-Handbücher MATLAB FIXED-POINT TOOLBOX - RELEASE NOTES Betriebsanweisung
(99 Seiten)
Software-Handbücher MATLAB COMPILER RELEASE NOTES Betriebsanweisung
(716 Seiten)
Software-Handbücher MATLAB SIMULINK 3D ANIMATION 5 Bedienungsanleitung
(43 Seiten)
Dokument drucken
Seite drucken 264
Kommentare zu diesen Handbüchern