Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: undefined function or variable 'sym'
Date: Fri, 10 Apr 2009 20:21:01 +0000 (UTC)
Organization: Motorola
Lines: 74
Message-ID: <gro9nd$kan$1@fred.mathworks.com>
References: <grjfpq$n1a$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1239394861 20823 172.30.248.38 (10 Apr 2009 20:21:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 10 Apr 2009 20:21:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1537072
Xref: news.mathworks.com comp.soft-sys.matlab:531937


Yes Friend,

i did the profile command and i found out that the sym was called many times as follows;
Function Name	Calls	Total Time	Self Time*	Total Time Plot
(dark band = self time)
sym.maple	1770	6.433 s	0.448 s	
maple	3540	5.218 s	0.752 s	
maplemex (MEX-function)	3559	4.225 s	4.185 s	
sym.cosint	885	4.152 s	0.042 s	
sym.double	885	2.666 s	0.138 s	
sym.sym	3540	2.621 s	0.278 s		
sym.sym>symr	1770	1.315 s	0.225 s	
sym.sym>char2sym	1770	1.028 s	0.328 s	
rat	2653	0.867 s	0.867 s	
double.superiorfloat	71604	0.696 s	0.696 s		
fliplr	28320	0.295 s	0.295 s	
int2str	2700	0.183 s	0.183 s	
sym.char	5310	0.171 s	0.171 s	
waitbar	25	0.166 s	0.160 s	
sym.sym>symfl	883	0.149 s	0.028 s	
sym.sym>trim	1770	0.100 s	0.046 s	
log10	12092	0.092 s	0.092 s	
axis	9	0.079 s	0.061 s	
str2num	885	0.075 s	0.042 s	
newplot	32	0.071 s	0.007 s	
newplot>ObserveAxesNextPlot	32	0.056 s	0.002 s	
graphics\private\clo	8	0.054 s	0.016 s	
cla	8	0.054 s	0.000 s	
symbolic\private\putenvmaple (MEX-function)	1	0.050 s	0.050 s	
sym.double>map2mat	885	0.045 s	0.045 s		
setdiff	16	0.038 s	0.023 s	
close	1	0.035 s	0.005 s	
str2num>protected_conversion	885	0.033 s	0.033 s	
ismember	9	0.030 s	0.030 s	
close>request_close	1	0.030 s	0.007 s	
title	6	0.023 s	0.018 s	
close>request_close_helper	2	0.021 s	0.006 s	
view	3	0.016 s	0.014 s	
axis>LocSetEqual	3	0.015 s	0.015 s	
ylabel	10	0.013 s	0.010 s	
axescheck	29	0.013 s	0.013 s	
xlabel	10	0.012 s	0.009 s	
num2str	10	0.011 s	0.008 s	
hold	3	0.008 s	0.006 s	
figureToolbarCreateFcn	8	0.006 s	0.002 s	
grid	5	0.005 s	0.005 s	
xlim	5	0.005 s	0.005 s	
opaque.char	8	0.004 s	0.004 s	
angle	1512	0.003 s	0.003 s	
colormap	1	0.003 s	0.003 s	
ishold	6	0.003 s	0.003 s	
gcf	75	0.003 s	0.003 s	
iscellstr	24	0.003 s	0.003 s	
newplot>ObserveFigureNextPlot	32	0.003 s	0.003 s	
axis>LocSetLimits	3	0.003 s	0.003 s	
FindST	1	0.002 s	0.002 s	
gca	71	0.002 s	0.002 s	
gcbf	2	0.002 s	0.000 s	
gcbo	2	0.002 s	0.002 s	
closereq	1	0.002 s	0.000 s	
view>ViewCore	3	0.002 s	0.002 s	
isunix	59	0 s	0.000 s	
ispc	1	0 s	0.000 s	
filesep	1	0 s	0.000 s	
initprintexporttemplate	9	0 s	0.000 s	
close>checkfigs	2	0 s	0.000 s	
usejava	8	0 s	0.000 s	
graphics\private\clo>find_kids	8	0 s	0.000 s	
findall	8	0 s	0.000 s	
view>isAxesHandle	3	0 s	0.000 s	
axis>allAxes	9	0 s	0.000 s


now please help me to solve the problem, i need to do my program with visual basic 6, please help