請(qǐng)教HFSS-VBS高手
我在用HFSS進(jìn)行優(yōu)化時(shí),將優(yōu)化目標(biāo)值goal value設(shè)置為具體數(shù)值時(shí),優(yōu)化可以順利進(jìn)行,如將goal value設(shè)置為0.2:
"Condition:=", "==", Array("NAME:GoalValue", "GoalValueType:=", _
"Independent", "Format:=", "Real/Imag", "bG:=", Array("v:=", "[0.2;]")), "Weight:=", "[1;]"))
但是當(dāng)我將優(yōu)化目標(biāo)值goal value設(shè)置為表達(dá)式時(shí),則顯示求解優(yōu)化函數(shù)失敗,如定義一個(gè)變量a為0.2,將goal value 設(shè)置為a
"Condition:=", "==", Array("NAME:GoalValue", "GoalValueType:=", _
"Independent", "Format:=", "Real/Imag", "eG:=", Array("v:=", "a")), "Weight:=", "[1;]"))
請(qǐng)高手指點(diǎn)一下啊。。
who can help me?
可以試試以下替代,如果不行,那就是 Array 的語(yǔ)法中不支持變量
"Condition:=", "==", Array("NAME:GoalValue", "GoalValueType:=", _
"Independent", "Format:=", "Real/Imag", "eG:=", Array("v:=", "["&a&";]")), "Weight:=", "[1;]"))
請(qǐng)問(wèn)如何改寫寒hfss中的vbs文件,然后hfss可以調(diào)用!
樓主你的VBS可以調(diào)用CMD直接啟動(dòng)HFSS嗎?我的VBS那個(gè)命令怎么總是運(yùn)行不起來(lái)
求問(wèn)HFSS-VBS高手
同問(wèn),沒(méi)有頭緒