jiechao 发表于 2005-12-26 01:33

[求助]连续几个input语句放在一起就运行不出来

<P>[求助]为什么连续几个input('please input w=:');语句放在一起就运行不出来呢?很急,谢谢!<br>I1=input('please input 铁矿1烧损:');<br>S1=input('please input 铁矿1含硫量:');<br>=sresidue(I1,S1);residueFe1<br>I2=input('please input 铁矿2烧损:');<br>S2=input('please input 铁矿2含硫量:');<br>=sresidue(I2,S2);residueFe2<br>I3=input('please input 石灰石烧损:');<br>S3=input('please input 石灰石含硫量:');<br>=sresidue(I3,S3);residueCaCO3<br>I4=input('please input 高炉灰烧损:');<br>S4=input('please input 高炉灰含硫量:');<br>=sresidue(I4,S4);residueAsh<br>I5=input('please input 无烟煤或焦炭烧损:');<br>S5=input('please input 无烟煤或焦炭含硫量:');<br>=sresidue(I5,S5);residueCoal<br>input('设铁矿1=x 铁矿2=y 石灰石=z');<br>b1=input('please input 铁矿1全铁含量:');<br>b2=input('please input 铁矿2全铁含量:');<br>b3=input('please input 石灰石全铁含量:');<br>q=input('please input 日烧结矿产量:');<br>b4=input('please input 高炉灰全铁含量:');<br>b5=input('please input 无烟煤或焦炭全铁含量:');<br>a1=input('please input 铁矿1氧化钙含量:');<br>a2=input('please input 铁矿2氧化钙含量:');<br>a3=input('please input 石灰石氧化钙含量:');<br>a4=input('please input 高炉灰氧化钙含量:');<br>a5=input('please input 无烟煤或焦炭中氧化钙含量:');<br>R=input('please input 烧结矿碱度:');<br>c1=input('please input 铁矿1二氧化硅含量:');<br>c2=input('please input 铁矿2二氧化硅含量:');<br>c3=input('please input 石灰石二氧化硅含量:');<br>c4=input('please input 高炉灰二氧化硅含量:');<br>c5=input('please input 无烟煤或焦炭中二氧化硅含量:');<br>d1=input('please input 铁矿1氧化亚铁含量:');<br>d2=input('please input 铁矿2氧化亚铁含量:');<br>d3=input('please input 石灰石氧化亚铁含量:');<br>d4=input('please input 高炉灰氧化亚铁含量:');<br>d5=input('please input 无烟煤或焦炭中氧化亚铁含量:');<br>d6=input('please input 烧结矿中氧化亚铁含量:');<br>d7=input('please input 烧结矿中全铁含量:');<br>=coeff1(c1,R,a1);k1<br>=coeff1(c2,R,a2);k2<br>=coeff1(c3,R,a3);k3<br>=coeff2(residueFe1,d1);l1<br>=coeff2(residueFe2,d2);l2<br>=coeff2(residueCaCO3,d3);l3<br>=coeff3(q,d7,b4,b5,);g1<br>=coeff4(q,R,c4,a4,c5,a5);g2<br>=coeff5(q,d6,residueAsh,d4,residueCoal,d5);g3<br>A=;<br>G=;<br>X=G/A</P><br>
[此贴子已经被aspen于2005-12-26 19:55:16编辑过]

jiechao 发表于 2005-12-26 11:13

原来是我的matlab 安装出现了问题!谢谢大家!

原来是我的matlab 安装出现了问题!

aspen 发表于 2005-12-26 19:55

回复:(jiechao)[求助]连续几个input语句放在一起就...

<P>这么多input啊,还不如写个文本文件读入呢,修改参数也方便</P>

linqus 发表于 2005-12-26 20:12

估计是楼主喜用交互式的
页: [1]
查看完整版本: [求助]连续几个input语句放在一起就运行不出来