MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   资料存档 (https://www.labfans.com/bbs/forumdisplay.php?f=72)
-   -   从Simulink进行系统调用可能吗? (https://www.labfans.com/bbs/showthread.php?t=26267)

poster 2019-12-14 20:13

从Simulink进行系统调用可能吗?
 
是否可以从[URL="http://en.wikipedia.org/wiki/Simulink"]Simulink[/URL]进行系统调用?我没有在文档中找到它,但是也许有解决方法。或者,它可以像函数调用一样简单。



[B]回答:[/B]

您应该能够使用[URL="http://www.mathworks.com/help/toolbox/simulink/ug/f6-6010.html"]嵌入式MATLAB Function模块[/URL]从Simulink运行MATLAB函数。在此函数中,您可以调用[URL="http://www.mathworks.com/help/techdoc/ref/system.html"]SYSTEM[/URL]函数以执行操作系统命令。



[url=https://stackoverflow.com/questions/4875981]更多&回答...[/url]


所有时间均为北京时间。现在的时间是 23:27

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.