Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Support for MathScript RT Module Functions in VIs Developed for C Code Generation (C Generator)

LabVIEW 2011 C Generator Help

Edition Date: June 2013

Part Number: 373144C-01

»View Product Info

Requires: C Generator and MathScript RT Module

You can use MathScript Nodes with built-in MathScript functions in exported VIs you develop for C code generation. However, the C Generator does not support certain functions in exported VIs or supports some functions only under certain conditions.

Note  (Control Design and Simulation Module) If you use the Control Design and Simulation Module with the C Generator, additional Control Design MathScript RT Module functions are not supported.

The C Generator does not support the following MathScript functions.

Function Class
addpath support
ar_cov modeling and prediction
ar_mcov modeling and prediction
area plots
axes plots
axis plots
balance linalgebra
bar plots
bar3d plots
bar3dhoriz plots
barhoriz plots
beep audio
break programming
cd support
clear commands
clfig plots
clgraph plots
colormap plots
colormapplot plots
continue programming
contour plots
contour3d plots
contouris plots
date_to_num time
date_to_str time
date_to_vector time
datescale plots
delete support
dir support
dos support
errorbar plots
eval basic
evalscript basic
exist membership
feather plots
figure plots
fileinfo support
fill plots
filternorm linear systems
fir_lsq (differentiator mode not supported) filter design
fwrite_xls support
global support
grid plots
gsvd linalgebra
help support
iir_butter filter design
image plots
imagescaled plots
int64 support
is_dir membership
is_global membership
is_member membership
lattice_to_tf linear systems
legend plots
line plots
linearsolve linalgebra
loaddialog support
loglog plots
lookfor support
menu support
mesh plots
meshcontour plots
mx_to_str string
now time
num_to_str string
ode_adams ode
ode_bdf15 ode
ode_bdf23 ode
ode_radau5 ode
ode_rk23 ode
ode_rk45 ode
ode_rosen ode
pareto plots
path support
pathdefault support
pathremove support
pause commands
pie plots
plot plots
plot3d plots
plotcoord plots
plotf plots
plotf_3d plots
plotf_contour plots
plotf_contouris plots
plotf_mesh plots
plotf_meshcontour plots
plotf_polar plots
plotf_surf plots
plotf_surfcontour plots
plotmatrix plots
plottext plots
plotyy plots
polar plots
polyeign polynomials
quiver plots
qz linalgebra
ref_plotarea plots
ref_plotwin plots
regex string
regex_i string
regex_replace string
regex_convert string
return programming
run support
save support
scatter plots
scatter3d plots
schur linalgebra
selectdata plots
semilog_x plots
semilog_y plots
showplot plots
sound audio
soundscaled audio
sprintf string
sscanf string
stairs plots
stem plots
stem3d plots
str_to_path support
stripplot plots
strread string
subplot plots
surface plots
surfacecontour plots
surfacenorm plots
system support
tempdir support
tempname support
text plots
tf_to_lattice linear systems
title plots
titles plots
treeplot plots
uint64 support
userpath support
view plots
voronoi geometry
waitforbuttonpress commands
waterfall plots
wavplay audio
wavread audio
wavrecord audio
wavwrite audio
weekday time
who support
who_all support
xlabel plots
xlabels plots
xlimit plots
ylabel plots
ylabels plots
ylimit plots
zlabel plots
zlimit plots
zoom plots
zplane filter design

You can use the following MathScript functions in exported VIs only when you assign the output of the function to a variable. For example, the C Generator supports a = coherence(x, y) in exported VIs. However, the C Generator does not support coherence(x, y) because when you call the function without assigning the output to a variable, LabVIEW generates an output plot that the C Generator does not support. You can use these functions in exported VIs only if you assign the output of the function to a MathScript variable.

Function Class
coherence spectral analysis
coherence_ms spectral analysis
crosspsd spectral analysis
crosssd spectral analysis
cylinder geometry
dimpulse modeling and prediction
dlsim modeling and prediction
dstep modeling and prediction
ellipsoid geometry
freqsd filter design
freqzd filter design
grpdelay filter design
histogram statistics
impzd filter design
peakfcn2d matrix
phasedelay filter design
phasezd filter design
psd spectral analysis
psd_burg spectral analysis
psd_covar spectral analysis
psd_mcovar spectral analysis
psd_periodogram spectral analysis
psd_welch spectral analysis
psd_yule spectral analysis
pspec_eign spectral analysis
pspec_music spectral analysis
spectrogram spectral analysis
sphere geometry
stepzd filter design
tf_estimate spectral analysis
tf_estimateplot spectral analysis
zerophase filter design


 Was this document helpful?  submit
  Helpful Not Helpful