f

#### Attempt to add "Cc" to a static workspace

```function[]=calc()
Rg=8.314;T=773;
psi=6894.75;Pg=75*psi;%Pg=Gas Pressure
ybulk=1*10^-3;%ybulk=Oxygen mole fraction in bulk
Cg=ybulk*Pg/(Rg*T);

syms C Cc Cs;%Concentration Variables
syms r rc R;%Position Variables
Ri=1*10^-6;
E=30000*4.18;%Activation Energy,E in J/mol
%syms kf kr;%Mass Transfer Coefficients
kf=2.3*10^6*exp(-E/(Rg*T));
%syms D denAl denOx MAl MOx;
D=1.72*10^-9;%Diffusivity of Oxygen
MAl=26;MOx=102;               %MAl=molar mass of Al,MOx=molar mass of
Alumina%
denAl=2700;denOx=4000;        %densities of Al,Alumina%
kr=1;
R=vpa((rc^3+(denOx*MAl/(denAl*MOx)*(Ri^3-rc^3)))^(1/3),4);%Particle
Size
C=Cc+(Cs-Cc)*(1-rc/r)/(1-rc/R);%Concentration relation
rate1=-4*pi*R^2*kf*(Cg-Cs);%Diffusion Rate through Gas Film
rate2=-4*pi*rc^2*D*subs(diff(C),r,rc);%Diffusion rate through oxide
layer
rate3=-4*pi*rc^2*kr*Cc;%Oxygen Consumption Rate due to reaction

Cs1=solve(rate1-rate2,'Cs');
Cc1=solve(rate2-rate3,'Cc');
Cc2=vpa(subs(Cc1,Cs,Cs1),4);
Cc3=solve(Cc2-Cc,Cc);
C1=subs(C,Cs,Cs1);
C2=subs(C1,Cc,Cc3);

Rfinal=subs(R,rc,0);
eqn=R;
syms R1;
rcfun=solve(eqn-R1,rc);
%Cc=Cc3;

C=matlabFunction(C2);

k=1/(-4/3*MAl*kr/denAl);
Ccf=k/Cc3;
Ccinv=matlabFunction(Ccf);
%rate=4/3*rate3;%Aluminium Consumption Rate
%t=vpa(k*int(1/Cc),2);
%eqn=t-int(1/fun,rc);
%tmax=vpa(subs(t,rc,0)-subs(t,rc,Ri),4);
X=1-power(rc/Ri,3);%X=conversion
function rcprime=fun(t,rc)

rcprime=Ccinv;
end
tspan=[0 0.008];
%X=1-power(rc/Ri,3);%X=conversion
[t rc]=ode45('fun',tspan,rc0);
figure;plot(t,X);
end

??? Error using ==> assignin
Attempt to add "Cc" to a static workspace.
See MATLAB Programming, Restrictions on Assigning to Variables for
details.

Error in ==> syms at 77
assignin('caller',x,sym(x));

Error in ==> calc at 7
syms C Cc Cs;%Concentration Variables

how can i assign variables within my function to perform calculations?

Thanks,
Viswanath.
```
 0
6/14/2011 5:46:21 AM
comp.soft-sys.matlab 211264 articles. 26 followers. lunamoonmoon (257) is leader.

3 Replies
1286 Views

Similar Articles

[PageSpeed] 7

```
"kangaroo" <visucodeous@gmail.com> wrote in message
> function[]=calc()
> Rg=8.314;T=773;
> psi=6894.75;Pg=75*psi;%Pg=Gas Pressure
> ybulk=1*10^-3;%ybulk=Oxygen mole fraction in bulk
> Cg=ybulk*Pg/(Rg*T);
>
> syms C Cc Cs;%Concentration Variables
> syms r rc R;%Position Variables

Since this is taking place in the context of a nested function, SYMS won't

C = sym('C'); % and similarly for the other variables

*snip*

--
Steve Lord
slord@mathworks.com
http://www.mathworks.com

```
 0
slord (13689)
6/14/2011 1:56:23 PM
```On Jun 14, 6:56=A0pm, "Steven_Lord" <sl...@mathworks.com> wrote:
> "kangaroo" <visucode...@gmail.com> wrote in message
>
>
> > function[]=3Dcalc()
> > Rg=3D8.314;T=3D773;
> > psi=3D6894.75;Pg=3D75*psi;%Pg=3DGas Pressure
> > ybulk=3D1*10^-3;%ybulk=3DOxygen mole fraction in bulk
> > Cg=3Dybulk*Pg/(Rg*T);
>
> > syms C Cc Cs;%Concentration Variables
> > syms r rc R;%Position Variables
>
> Since this is taking place in the context of a nested function, SYMS won'=
t
>
> C =3D sym('C'); % and similarly for the other variables
>
> *snip*
>
> --
> Steve Lord
> sl...@mathworks.com
ks.com

Thanks, Steve. It worked, accepted definitions the way you said. But
still, i get this error in implementing ode function in the end.

??? Error using =3D=3D> odearguments at 120
Inputs must be floats, namely single or double.

Error in =3D=3D> ode45 at 172
[neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs,
odeFcn, ...

Error in =3D=3D> calc at 56
[t rc]=3Dode45('fun',tspan,rc0);

Here is the code:

function[]=3Dcalc()
Rg=3D8.314;T=3D773;
psi=3D6894.75;Pg=3D75*psi;%Pg=3DGas Pressure
ybulk=3D1*10^-3;%ybulk=3DOxygen mole fraction in bulk
Cg=3Dybulk*Pg/(Rg*T);

C=3Dsym('C');Cc=3Dsym('Cc');Cs=3Dsym('Cs');%Concentration Variables
r=3Dsym('r');rc=3Dsym('rc');R=3Dsym('R');%Position Variables
Ri=3D1*10^-6;
E=3D30000*4.18;%Activation Energy,E in J/mol
%syms kf kr;%Mass Transfer Coefficients
kf=3D2.3*10^6*exp(-E/(Rg*T));
%syms D denAl denOx MAl MOx;
D=3D1.72*10^-9;%Diffusivity of Oxygen
MAl=3D26;MOx=3D102;               %MAl=3Dmolar mass of Al,MOx=3Dmolar mass =
of
Alumina%
denAl=3D2700;denOx=3D4000;        %densities of Al,Alumina%
kr=3D1;
R=3Dvpa((rc^3+(denOx*MAl/(denAl*MOx)*(Ri^3-rc^3)))^(1/3),4);%Particle
Size
C=3DCc+(Cs-Cc)*(1-rc/r)/(1-rc/R);%Concentration relation
rate1=3D-4*pi*R^2*kf*(Cg-Cs);%Diffusion Rate through Gas Film
rate2=3D-4*pi*rc^2*D*subs(diff(C),r,rc);%Diffusion rate through oxide
layer
rate3=3D-4*pi*rc^2*kr*Cc;%Oxygen Consumption Rate due to reaction

Cs1=3Dsolve(rate1-rate2,'Cs');
Cc1=3Dsolve(rate2-rate3,'Cc');
Cc2=3Dvpa(subs(Cc1,Cs,Cs1),4);
Cc3=3Dsolve(Cc2-Cc,Cc);
C1=3Dsubs(C,Cs,Cs1);
C2=3Dsubs(C1,Cc,Cc3);

Rfinal=3Dsubs(R,rc,0);
eqn=3DR;
R1=3Dsym('R1');
rcfun=3Dsolve(eqn-R1,rc);
%Cc=3DCc3;

C=3DmatlabFunction(C2);

k=3D1/(-4/3*MAl*kr/denAl);
Ccf=3Dk/Cc3;
Ccinv=3DmatlabFunction(Ccf);
%rate=3D4/3*rate3;%Aluminium Consumption Rate
%t=3Dvpa(k*int(1/Cc),2);
%eqn=3Dt-int(1/fun,rc);
%tmax=3Dvpa(subs(t,rc,0)-subs(t,rc,Ri),4);
X=3D1-power(rc/Ri,3);%X=3Dconversion
function rcprime=3Dfun(t,rc)

rcprime=3DCcinv;
end
rc0=3DRi;
tspan=3D[0 0.008];
%X=3D1-power(rc/Ri,3);%X=3Dconversion
[t rc]=3Dode45('fun',tspan,rc0);
figure;plot(t,X);
end
```
 0
6/14/2011 4:38:13 PM
```
"kangaroo" <visucodeous@gmail.com> wrote in message
> On Jun 14, 6:56 pm, "Steven_Lord" <sl...@mathworks.com> wrote:
>> "kangaroo" <visucode...@gmail.com> wrote in message
>>
>>
>> > function[]=calc()
>> > Rg=8.314;T=773;
>> > psi=6894.75;Pg=75*psi;%Pg=Gas Pressure
>> > ybulk=1*10^-3;%ybulk=Oxygen mole fraction in bulk
>> > Cg=ybulk*Pg/(Rg*T);
>>
>> > syms C Cc Cs;%Concentration Variables
>> > syms r rc R;%Position Variables
>>
>> Since this is taking place in the context of a nested function, SYMS
>> won't
>>
>> C = sym('C'); % and similarly for the other variables
>>
>> *snip*
>>
>> --
>> Steve Lord
>> sl...@mathworks.com
>> onhttp://www.mathworks.com
>
> Thanks, Steve. It worked, accepted definitions the way you said. But
> still, i get this error in implementing ode function in the end.
>
> ??? Error using ==> odearguments at 120
> Inputs must be floats, namely single or double.
>
> Error in ==> ode45 at 172
> [neq, tspan, ntspan, next, t0, tfinal, tdir, y0, f0, odeArgs,
> odeFcn, ...

Do not mix symbolic variables with the numeric ODE solvers directly. Either
stay completely in the symbolic realm and use DSOLVE instead of ODE45 or
convert your symbolic expression into a form compatible with the numeric
solvers using matlabFunction and use that function/function handle with
ODE45.

--
Steve Lord
slord@mathworks.com
http://www.mathworks.com

```
 0
slord (13689)
6/14/2011 5:03:16 PM

Similar Artilces:

Attempt to add "Cc" to a static workspace #2
function[]=calc() Rg=8.314;T=773; psi=6894.75;Pg=75*psi;%Pg=Gas Pressure ybulk=1*10^-3;%ybulk=Oxygen mole fraction in bulk Cg=ybulk*Pg/(Rg*T); syms C Cc Cs;%Concentration Variables syms r rc R;%Position Variables Ri=1*10^-6; E=30000*4.18;%Activation Energy,E in J/mol %syms kf kr;%Mass Transfer Coefficients kf=2.3*10^6*exp(-E/(Rg*T)); %syms D denAl denOx MAl MOx; D=1.72*10^-9;%Diffusivity of Oxygen MAl=26;MOx=102; %MAl=molar mass of Al,MOx=molar mass of Alumina% denAl=2700;denOx=4000; %densities of Al,Alumina% kr=1; R=vpa((rc^3+(denOx*MAl/(denAl*MOx)*(Ri^3-rc^3)))^(1/3),4);%Particle Size C=Cc+(Cs-Cc)*(1-rc/r)/(1-rc/R);%Concentration relation rate1=-4*pi*R^2*kf*(Cg-Cs);%Diffusion Rate through Gas Film rate2=-4*pi*rc^2*D*subs(diff(C),r,rc);%Diffusion rate through oxide layer rate3=-4*pi*rc^2*kr*Cc;%Oxygen Consumption Rate due to reaction Cs1=solve(rate1-rate2,'Cs'); Cc1=solve(rate2-rate3,'Cc'); Cc2=vpa(subs(Cc1,Cs,Cs1),4); Cc3=solve(Cc2-Cc,Cc); C1=subs(C,Cs,Cs1); C2=subs(C1,Cc,Cc3); Rfinal=subs(R,rc,0); eqn=R; syms R1; rcfun=solve(eqn-R1,rc); C=matlabFunction(C2); k=1/(-4/3*MAl*kr/denAl); Ccf=k/Cc3; Ccinv=matlabFunction(Ccf); function rcprime=fun(t,rc) rcprime=Ccinv; end tspan=[0 0.008]; X=1-power(rc/Ri,3);%X=conversion [t rc]=ode45('fun',tspan,rc0); figure;plot(t,X); end ??? Error using ==> assignin Attempt to add "Cc" to a static workspace. See MATLAB Program...

When "static" isn't "static"
[PHP] function blah(\$item) { if (!isset(\$baseDir)) { static \$baseDir = ''; \$baseDir = \$item; print_r("baseDir = \$baseDir\n"); } \$dirID = opendir(\$item); while ((\$fyl = readdir(\$dirID)) !== false) { if (is_dir("\$baseDir/\$fyl")) blah(\$item); // DO OTHER STUFF IF IT IS A FILE } } [/PHP] I am using PHP 4.3.2 and the following occurs within blah() : [Quote] baseDir = /home/me/stuff baseDir = /home/me/stuff/. baseDir = /home/me/stuff/./.. [/Quote] I was under the impression that a static variable retains its value throughout a function (or method) recursive memory stack. However, it changes everytime because it apparently loses its set value. Needless to mention I'm confused. Was I wrong about static; if so, what else do I do to retain this value? I cannot use \$_SESSION as this is command-line PHP instead of API. Thanx Phil On 5 Dec 2005 11:02:31 -0800, "comp.lang.php" <phillip.s.powell@gmail.com> wrote: >I was under the impression that a static variable retains its value >throughout a function (or method) recursive memory stack. However, it >changes everytime because it apparently loses its set value. Try it this way: [PHP] function blah(\$item) { static \$baseDir = ''; if (!\$baseDir) { \$baseDir = \$item; print_r("baseDir = \$baseDir\n"); } \$dirID = opendir(\$item); while ((\$fyl = readdir(\$dirID)) !== fa...

Urgent JAVA Requirement in """"""NEW YORK"""""""""
Hello Partners, How are you ? Please find the requirement below. Location : NY Duration : 8 mnths Rate :Open Job description: Java/J2EE Web Service Developer =B7 (4+ years of application development experience in Java/J2EE and Web service technologies. =B7 Experience with spring & Hibernate. =B7 Experience with J2EE Application Server (preferably Web logic). =B7 Preferable Aqua logic DSP Experience =B7 Preferable Sonic ESB Composite Service experience Experience working in UNIX environment. Good working knowledge of Oracle RDBMS and PL/SQL) Note : Please send your updated resume along with contact no to Karthik@bhaninfo.com. Thanks & Regards Karthik BhanInfo karthik@bhaninfo.com # 1572, 7 th Floor Suites, 1 Blue Hill Plaza Pearl River,NY-10965 www.bhaninfo.com ...

"C" programm in "Matlab" Programm
Hi, i habe a matlab code which is looking like that " in C: unsigned char i, Checksum; unsigned char Command[9]; //Set the “Command” array to the desired command Checksum = Command[0]; for(i=1; i<8; i++) Checksum+=Command[i]; Command[8]=Checksum; //insert checksum as last byte of the command //Now, send it to the module how can i convert it to matlab? thanks for you answer melano "Miland " <miland17@yahoo.de> wrote in message <j0mb4f\$48u\$1@newscl01ah.mathworks.com>... > Hi, > i habe a matlab code which is looking like that " > > in C: > > unsigned char i, Checksum; > unsigned char Command[9]; //Set the “Command” array to the desired command Checksum = Command[0]; > for(i=1; i<8; i++) Checksum+=Command[i]; > Command[8]=Checksum; > //insert checksum as last byte of the command > //Now, send it to the module > > how can i convert it to matlab? > > thanks for you answer > > melano Make Command a type larger than 1 byte (e.g., uint32), add up the elements, then mod the result with 256. James Tursa ...

"ClientConn", "ClientRate" and "Connect"
Hello. Is a ratecontrol and conncontrol features not work for networks described via connect in access ? For example: -----part of /etc/mail/access----- ClientConn:192.168.1 1 ClientRate:192.168.1 1 Connect:192.168.1 RELAY ----------------------------------- -- Regards, Sergey Sergey wrote: > Is a ratecontrol and conncontrol features not work for networks described via connect in access ? > For example: > ClientConn:192.168.1 1 > ClientRate:192.168.1 1 > Connect:192.168.1 RELAY See cf/README. Connect:cyberspammer.com REJECT Connect:TLD REJECT Connect:192.168.212 REJECT would refuse mail from spammer@aol.com, any user from cyberspammer.com (or any host within the cyberspammer.com domain), any host in the entire top level domain TLD, 192.168.212.* network, >.. Hmm, for ClientConn and ClientRate it doesn't seem to be documented. The sendmail X documentation has this explanation: .... icr:10 5 Note, however, that the limits apply only to single IP addresses, they are not aggregated for nets. That is, for the example every single host in the IP net 10.x.y.z can have a maximum incoming connection rate of 5 messages per minute. -- Note: please read the netiquette before posting. I will almost never reply to top-postings which include a full copy of the previous article(s) at the end because it's annoying, shows that the poster is too lazy to trim his arti...

Is there any """Anti Stringizing operator #"""
Hi everybody:D I've a string that contains the name of a class. Some members told that I can use """Stringizing Operator (#)""", but the problem is here, that I have the string, & I want something vice- versa. As we know with """Stringizing Operator (#)""", we can get the stirng name of a class or ... str <--- #ClassA But I want to instantiate a class that I have just it's name as a string. ClassA * clsA = new ??? <--- Str ??? How can I do it? I don't want to use """HardCoding""". Thanks. babakandme@yahoo.com wrote: > Hi everybody:D > > > I've a string that contains the name of a class. > > Some members told that I can use """Stringizing Operator (#)""", but > the problem is here, that I have the string, & I want something vice- > versa. > As we know with """Stringizing Operator (#)""", we can get the stirng > name of a class or ... str <--- #ClassA > > But I want to instantiate a class that I have just it's name as a > string. > ClassA * clsA = new ??? <--- Str ??? > > How can I do it? > I don't want to use """HardCoding""". > Why all the triple quotes? It sounds like you are looking for the factory pattern. You can't instantiate a class by name dynamically in C++ lik...

VB5
Hello, I tried to add a variable number of identical "labels" on a form at runtime, using the Collection.Add method. A previous designed label on the same form is used as model. The following code ends at i=1 with a "wrong type" error: Dim Vignette As New Collection Dim iC As Label Set iC = Txt ' the existing "model" For i = 1 To ncar ' loop to add the labels Vignette.Add iC, i ' <<< error '13' on this line ...... other stuff .. Next i Set iC = Nothing What is wrong ? Thanks in advance. "Albert BOLLE" <Albert.Bolle@ulg.ac.be> wrote in message news:c6injq\$le\$1@ikaria.belnet.be... > I tried to add a variable number of identical "labels" on a form > at runtime, using the Collection.Add method. > A previous designed label on the same form is used as model. > The following code ends at i=1 with a "wrong type" error: > Dim Vignette As New Collection > Dim iC As Label > Set iC = Txt ' the existing "model" > For i = 1 To ncar ' loop to add the labels > Vignette.Add iC, i ' <<< error '13' on this line > Next i Works okay here. Check that your original Label actually does have "txt" as its Name property. Also check (more likely) that you have not created some other variable with the same name (for example Dim txt as String). By the way, why are you using a Collection rather...

Is there a "break" "continue" equivalent in the "for" or "while" statement in SKILL?
Thank you! madhero wrote, on 07/03/08 09:42: > Thank you! Not directly, but see: http://tinyurl.com/69wte8 http://tinyurl.com/6ycdbn for two related threads in this group. Regards, Andrew. ...

Add "All" to Combo Box and Use "All" as Criteria in Query
Hi Everyone- I have a question about how to add and then use the "All" selection in a combo box. I am trying to figure out how to: (1) add "All" as a selection to a combo box and then (2) how to use the selection "All" as criteria for a field in a query, which is used to generate data for a report. I use 3 different objects on a form as criteria for a query that is used to generate a report. 2 of these objects are text boxes, and 1 is a combo box. I have a simple form named, frmTeam, which has: 2 text boxes, 1 combo box, and 2 command buttons. The data from the 2 text boxes and combo box are used as criteria in a query to generate a report. The 2 text boxes are used to record a user-defined date range. The text box named, txtBeginDate, stores the beginning date, and the text box named, txtEndDate, stores the ending date. The dates from these 2 text boxes are used in a "Between...And" statement as part of the criteria in my query. Between [forms]![frmTeam]![txtBeginDate] And [forms]![frmTeam]![txtEndDate] The combo box named, cboTeam, displays 2 fields from the table named, Team. The combo box displays the fields: TeamID and TeamName. The 1st column, TeamID, is the bound column. The selection in this combo box is used, along with the 2 dates in the text boxes, as criteria in my query. [forms]![frmTeam]![cboTeam] The 2 command buttons are very simple and straight forward. One command button is used to preview my report, and t...

"/ as sysdba" Failes But "sys/password@service_name" Works ???
I'm trying to connect to a remote Oracle database from a Unix box. Unix : AIX 4.3.3. Oracle: 8.1.7 \$> sqlplus sys/syspassword@my_db_name Connected. perfectly works but, the following commands generate ORA-12545: error, any idea why ? : \$> export ORACLE_SID=my_db_name \$> sqlplus "/ as sysdba" ERROR: ORA-12545: Connect failed because target host or object does not exist i.d. > \$> export ORACLE_SID=my_db_name > \$> sqlplus "/ as sysdba" > ERROR: > ORA-12545: Connect failed because target host or object does not exist Is the database you are trying to connect to a remote database? If so, then you won't be able to connect this way. You'll have to connect the first way you indicated. HTH, Brian -- =================================================================== Brian Peasland dba@remove_spam.peasland.com Remove the "remove_spam." from the email address to email me. "I can give it to you cheap, quick, and good. Now pick two out of the three" idogan_tech@yahoo.com (Ibrahim DOGAN) wrote in message news:<6bf58828.0402251154.bfd587b@posting.google.com>... > I'm trying to connect to a remote Oracle database from a Unix box. > > Unix : AIX 4.3.3. > Oracle: 8.1.7 > > \$> sqlplus sys/syspassword@my_db_name > Connected. > > perfectly works > > but, the following commands generate ORA-12545: error, any idea why ? : > > \$> export ORACLE_...

"matlab"
Hi, I found a 74% OFF coupon to Learn Matlab Udemy course Couponcode: MATLAB25 https://www.udemy.com/learn-matlab/?couponCode=MATLAB25 ...

Definition of "shall", "should", "must", etc.
Is there a written standard anywhere that defines specification terms like "shall" and "should" and "must"? I've run into a number of projects where, in particular, "shall" / "must" / "will" are all used interchangeably. Your thoughts... "C. J. Clegg" <reply.to.newsgroup@nospam.no> wrote in message news:jbsbh19g228ne84213f8kh0uvccj5ie6sg@4ax.com... > > Is there a written standard anywhere that defines specification terms > like "shall" and "should" and "must"? > > I've run into a number of projects where, in particular, "shall" / > "must" / "will" are all used interchangeably. > When in doubt, place an explicit statement that serves to indicate the interpretation that will be used (make certain it is not inconsistent with the customers rules and regulations) > Your thoughts... C. J. Clegg wrote: > Is there a written standard anywhere that defines specification terms > like "shall" and "should" and "must"? > > I've run into a number of projects where, in particular, "shall" / > "must" / "will" are all used interchangeably. > > Your thoughts... oh ...the beauty of google and having worked in telecomms where this knowledge is an (unfortunate) must (no pun intended) http://standards.ieee.org/guides/style/section...

what is the difference between "tsu", "su" and "sudo"?
Hi all I needed to ask a question about the Linux commands used for getting root access. The question is, what is the difference between "tsu", "su", and "sudo"? I am mainly interested about the "tsu" command regarding which there seems to be very little documentation. What is the benefit in using e.g. "tsu" rather than "su"? And are there other ones besides these 3? (If yes, any pointers to a website discussing all of them would be appreciated.) Thanks in advance, JJ <santa@temporaryinbox.com> writes: >Hi all >I needed to ask a question about the Linux commands used for getting >root access. >The question is, what is the difference between "tsu", "su", and >"sudo"? Never heard of tsu. Not on my system. >I am mainly interested about the "tsu" command regarding which there >seems to be very little documentation. So for something like securly logging in why in the world would you use something for which you can find no docs? You look up the barrel of guns to see if they are loaded while you pull the trigger as well? >What is the benefit in using e.g. "tsu" rather than "su"? For something like su, I would say there is no benefit. >And are there other ones besides these 3? (If yes, any pointers to a >website discussing all of them would be appreciated.) ???? W...

Matching "Goto" for "From"
Hello, i am a newer ,this is a problem when i learn a example, when i simulated it ,there always are warnings such as: Warning: Matching "Goto" for "From" 'untitled/DC Machine/iA/source' not found. Warning: Matching "Goto" for "From" 'untitled/DC Machine/iF/source' not found. Warning: Matching "From" for "Goto" 'untitled/DC Machine/FCEM/Goto' not found. Warning: Matching "From" for "Goto" 'untitled/DC Voltage Source/Goto' not found. Warning: Using a default value of 0.02 for maximum step size. The simulation step size will be limited to be less than this value. now, i can not sovle the problem, so i need you help , thank you ! ...

"Ritual" is "MumboJumbo"
Well it looks as if Ritual has been "saved". Don't know if we'll ever get to see a SiN Episodes 2 or another Painkiller, but at least this bunch of talented people have jobs in the industry still. MumboJumbo are better known for casual games like Luxor. Let's hope they decide to branch out a bit and venture into the Action/FPS games market. Somehow I can't quite see myself getting over excited at the prospect of "Super Collapse: Episode 3- Revenge of the Orange and Blue Marbles". http://www.bluesnews.com/cgi-bin/board.pl?action=viewthread&threadid=74809 -- Rob Rob wrote: > Well it looks as if Ritual has been "saved". Don't know if we'll ever > get to see a SiN Episodes 2 or another Painkiller, but at least this > bunch of talented people have jobs in the industry still. > > MumboJumbo are better known for casual games like Luxor. Let's hope > they decide to branch out a bit and venture into the Action/FPS games > market. > > Somehow I can't quite see myself getting over excited at the prospect > of "Super Collapse: Episode 3- Revenge of the Orange and Blue > Marbles". > > http://www.bluesnews.com/cgi-bin/board.pl?action=viewthread&threadid=74809 Oh you bastard, and RIGHT on the exact same minute as me! :) "Rob" <noemailformethx@jsjsaiiowppw.invalid> wrote in message news:5rjfr2d2dhnmjmo4k74p1kl3qrhmnnpv46@4ax.com... > > W...

"refreshdata" against "set"
Which one is better, "refreshdata" or "set"? Simply by looking at the code I've noticed that refreshdata does: 1) Finds all the properties of the object which end with 'DataSource' 2)Evaluates all of the relevant variables in the upper workspace 3) Does set(h,....) It looks like there is no advantage in using refreshdata, as it ultimately calls set, but does bunch of other operations. In my GUI, I've implemented polygon movement with both, and using directly "Set" is much smoother. Please correct me if I'm wrong. ...

gem "before" and "after" filters?
--nextPart1495269.fW4IQGULCc Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, I am trying to build a gem and I need to do some pre-processing (creating a= =20 file) before I can create my rdoc's and some cleaning (erasing that file)=20 after I create it. Running something before building the gem is easy (just specify it in the=20 gemspec before the Gem::Specification.new), but how do I run something=20 afterwards? (writing the code at the end or after the end of the=20 Gem::Specification does not work, because that code is run before the gem i= s=20 built) Thank you. =2D-=20 Pau Garcia i Quiles http://www.elpauer.org (Due to the amount of work, I usually need 10 days to answer) --nextPart1495269.fW4IQGULCc Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBFNWll/DzYv9iGJzsRAu9mAKCZiWfrT8/LEKCcYItqbZJHtWbyCQCg0F9E IBr0fPsFyvUuUPO1VGD6ZhA= =Ge37 -----END PGP SIGNATURE----- --nextPart1495269.fW4IQGULCc-- On 10/17/06, Pau Garcia i Quiles <pgquiles@elpauer.org> wrote: > I am trying to build a gem and I need to do some pre-processing (creating a > file) before I can create my rdoc's and some cleaning (erasing that file) > after I create it. > > Running something before building the gem is easy (just specify it in the > gemspec before the Gem::Specification.new), but how do I run something &...

When to use "." and when to use "!"
I'm still confused about this and I can't find anywhere that explains it properly. I have the MS book "Access 2003" in front of me and I'm reading Part 5 about VB and so on. It's telling me about how to refer to a specific database and has the example:- Dim dbMyDb As DAO.Database Set dbMyDb = DBEngine.Workspaces(0).Databases(0) but, but, but, but - what do those dots (periods, full stops, call them what you will) mean? (OK, it appears to be the same usage as C/C++/Java when referring to class/structure members, but I wish it would tell me that somewhere) Why are there dots used in referring to object members in this case but when referring to controls on forms (for example) one uses "!". Surely there must be somewhere that helps one understand this basic syntax. -- Chris Green Generally, a dot exposes properties and methods and a bang (!) exposes members of a collection. So forms!frmMyForm.Visible refers to the visible property of frmMyForm, which is a member of the forms collection. What makes this harder (or easier, depending on your perspective) to grasp, is that Access has gotten more and more forgiving about using the "wrong" notation. usenet@isbd.co.uk wrote in news:44316bba.0@entanet: > I'm still confused about this and I can't find anywhere that explains > it properly. > > I have the MS book "Access 2003" in front of me and I'm reading Part 5 > about VB and so on....

Invalid use of "." "!"
In writing a sql statement I get the error "invalid use of "." "!"......... this is apparently coming because the where clause of the sql statemt refers to a combo box with sales persons names in it. All the names are listed first initial followed by a "." and last name. I am assuming the error i am getting is coming from the "." in the combo box. How do I get around the invalid use of the "." ? Thanks Never mind..... didnt have enough quotation marks. "Learning" <texson552000@yahoo.com> wrote in message news:DQELg.10308\$o42.364@tornado.texas.rr.com... > In writing a sql statement I get the error "invalid use of "." "!"......... > this is apparently coming because the where clause of the sql statemt refers > to a combo box with sales persons names in it. All the names are listed > first initial followed by a "." and last name. I am assuming the error i am > getting is coming from the "." in the combo box. > > How do I get around the invalid use of the "." ? > > Thanks > > ...

"timing" problem in simulink using LUT and block "from workspace"
Hello I'm using Simulink and HDL-Coder to generate code for some hardware algorithm for OCT (doesn't really matter for the problem underneath, therefore I stop my explanation about what I'm doing ;)) Recently I discovered a strange behavior when debugging in simulink: the input data (read in with the "from workspace" block) did not change on every clock, even though the input vector changes its value for every sample-time. I checked the sample time (fixed step size) for the simulation as well as the sample time vector in the matlab code. But they fit to each other. Therefore I made a small example to see, whether I could reproduce this 'error'. As you can see in the picture I have the simplest possible simulink model containing an 'from workspace' and a 'to workspace' block. using the settings from underneath I keep receiving a strange behavior for the output. the first half of the ramp is constantly increasing whereas the second half looks has some "edges" (a few samples are not loaded on time) Settings/configs: --> sample rate of the 'from workspace' block equals 0.1 (equals simulations fixed step size) --> 'to workspace' block has sample time "inherited" (--> 0.1 as well) --> matlab code (as in the screenshot) is: dt = 0.1; N = 200; time = -0.01:dt:(N-1)*dt; sample = linspace(0,N-1,N); %samples = [time', sample']; samples.time = time'; samples....

[News] [Rival] Microsoft Has "Critical", "Critical", "Critical", "Critical", "Critical", and "Critical" Flaw
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 MS fuels up five critical Windows fixes ,----[ Quote ] | Microsoft plans to release five critical update bulletins next Tuesday, all | critical, in the September edition of its regular Patch Tuesday update cycle. `---- http://www.reghardware.co.uk/2009/09/04/ifa_lg_pdp/ Recent: Microsoft rejects call to fix SQL password-exposure risk ,----[ Quote ] | Microsoft is butting heads with a company that provides software for database | security over a weakness in SQL Server that can expose user passwords to | anyone with administrative access to the program. `---- http://www.theregister.co.uk/2009/09/02/sql_server_password_exposure/ Related: Bots rule in cyberspace ,----[ Quote ] | USA TODAY REPORTS that on an average day, 40 per cent of the 800 million | computers connected to the Internet are bots used to send out spam, viruses | and to mine for sensitive personal data.   `---- http://www.theinquirer.net/gb/inquirer/news/2008/03/17/bots-rule-cyberspace http://www.usatoday.com/tech/news/computersecurity/2008-03-16-computer-botnets_N.htm Botnets Running Rampant ,----[ Quote ] | How much money is being stolen by cybercriminals? No one knows, and no one | even knows how to go about coming up with that number, IronPort's Peterson | said.   `---- http://www.pcworld.com/businesscenter/article/144489/botnets_running_rampant.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkq...

Dijkstra's "Enumeration" = "Metrics" his "Abstraction" = "Quality"
"Enumerative reasoning is only an adequate mental tool under the severe boundary condition that we only use it very moderately. We should appreciate abstraction as our main mental technique to reduce the demands made upon enumerative reasoning." ~ EW Dijkstra This is critically decisive because Dijkstra is saying that in most *software engineering" contexts, most of the time, abstraction is key relative to "metrics", the numerical, the quantitative. It is a TOWWWEEERRRING, grand slam "home run". It is of Doug William's 3-4 perfectly pitched Super Bowl touchdowns. It is growth in insight after Dijkstra one of THE very best ran into major impasses attempting to drive development with metrics. His insight is that ABSTRACTION should "lead" the way. While there is the dialectic: metrics<=>abstraction The predominant factor to engage and lead software engineering by is "abstraction". So notation wise better: metrics<=>abstraction* And to denote analyzing or summarizing the dialectic applied in whatever context, from point 'a' to 'b': a,b{ metrics<=>abstraction* Discrete points: a,b; l,q{ metrics<=>abstraction* Have at your own meaningful fun! Elliott -- Global Plans + IID = part of an optimal approach On Wed, 4 Feb 2004 23:36:17 -0500, "Universe" <universe@tAkEcovadOuT.net> wrote: >"Enumerative reasoning is only an adequate mental tool und...

=Iff(([Me]![Gender])="M","Male","Female")
Thanks in Advance! ... I have two textboxes: 1 is visible (and gets its value based on the invisible textbox and displays either "Male" or "Female", and needs to display either male of female based on the value that comes up in the tables record as "M" or "F". I tried: =Iff(([Me]![Gender])="M","Male","Female") 'the [Me] is form, [Gender] is the textbox name and this does not work. Is my syntax wrong or can I just have one box and its displayed value display "Female" if the record says "F"? Thanks! Brian When you say it doesn't work, do you mean the visible text box is empty? Or, does it display an error? Out of curiousity, why are you using two text boxes? I think it might be simpler to use a single combo box. Make its properties like so: Control Source: Gender Row Source Type: Value List Row Source: "M";"Male";"F";"Female" Column Count: 2 Column Heads: No Column Widths: 0" Bound Column: 1 This will give you a drop down list with two rows. Since the Column Count is 2, the "M" and "Male" values are the two columns for the first row and the "F" and "Female" are the two columns for the second row. Setting the Column Width to 0" means the first column will not be displayed but since it's the Bound Column, the "M" and "F" will be used as the value of...

what does "!" do here?
#define HALT __asm CLRA; __asm SWI ! {A}, {A+HX+SR}; this is from Metrowerks hidef.h to define macros for HC08 microcontroller. what does "!" do here? ...

Web resources about - Attempt to add "Cc" to a static workspace - comp.soft-sys.matlab

Resources last updated: 3/30/2016 6:53:11 PM