
matlab sim函数代表什么意思?怎么用的 急!!!
3个回答
展开全部
执行simulink模型用的命令 相当于windows里的run命令
sim(model,timespan,options,ut);
[t,x,y] = sim(model,timespan,options,ut);
[t,x,y1, y2, ..., yn] = sim(model,timespan,options,ut);
Description
The sim command causes the specified Simulink model to be executed. The model is executed with the data passed to the sim command, which may include parameter values specified in an options structure. The values in the structure override the values shown for block diagram parameters in the Configuration Parameters dialog box, and the structure may set additional parameters that are not otherwise available (such as DstWorkSpace). The parameters in an options structure are useful for setting conditions for a specific simulation run.
sim(model,timespan,options,ut);
[t,x,y] = sim(model,timespan,options,ut);
[t,x,y1, y2, ..., yn] = sim(model,timespan,options,ut);
Description
The sim command causes the specified Simulink model to be executed. The model is executed with the data passed to the sim command, which may include parameter values specified in an options structure. The values in the structure override the values shown for block diagram parameters in the Configuration Parameters dialog box, and the structure may set additional parameters that are not otherwise available (such as DstWorkSpace). The parameters in an options structure are useful for setting conditions for a specific simulation run.
参考资料: MATLAB帮助文件
展开全部
就是运行一个函数吧,顶楼上
执行simulink模型用的命令 相当于windows里的run命令
sim(model,timespan,options,ut);
[t,x,y] = sim(model,timespan,options,ut);
[t,x,y1, y2, ..., yn] = sim(model,timespan,options,ut);
Description
The sim command causes the specified Simulink model to be executed. The model is executed with the data passed to the sim command, which may include parameter values specified in an options structure. The values in the structure override the values shown for block diagram parameters in the Configuration Parameters dialog box, and the structure may set additional parameters that are not otherwise available (such as DstWorkSpace). The parameters in an options structure are useful for setting conditions for a specific simulation run.
执行simulink模型用的命令 相当于windows里的run命令
sim(model,timespan,options,ut);
[t,x,y] = sim(model,timespan,options,ut);
[t,x,y1, y2, ..., yn] = sim(model,timespan,options,ut);
Description
The sim command causes the specified Simulink model to be executed. The model is executed with the data passed to the sim command, which may include parameter values specified in an options structure. The values in the structure override the values shown for block diagram parameters in the Configuration Parameters dialog box, and the structure may set additional parameters that are not otherwise available (such as DstWorkSpace). The parameters in an options structure are useful for setting conditions for a specific simulation run.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2010-05-16
展开全部
运行mdl文件的仿真啊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询