程序报错,该怎么修改


#1

in run: there was no simulation data. The simulation failed to run.
in getdata, the d-card named monitor was not found.

This is likely because you are in Layout Mode and need to switch to Analysis Mode by running the simulation
or opening a simulation that contains data.
Also, try the command ‘?getdata;’ to see the which global d-cards are available.
我尝试加入修改
output which simulation is running
"running simulation " + " of " + num2str(length(c_radius)*1);
run the simulation
但是依然报错 line 21: syntax error


#2

there was no simulation data.
很可能是必要提取的参数没有设置。例如,你想得到Ex,但是你的监视器仅记录的Power。

或者是其它错误。

line 21: syntax error, 说明语法错误,例如忘记分号或者括号。
如果没有解决,请提供FSP和LSF文件,你可以删除里面的结构。