本文介绍了从Simulink进行系统调用可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以从 Simulink 进行系统调用?我没有在文档中找到它,但是也许有一种解决方法.或者,它可以像函数调用一样简单.
Is it possible to do a system call from Simulink? I haven't found it in documentation, but maybe there is a workaround. Or, it can be as easy as an function call.
推荐答案
您应该能够使用嵌入式MATLAB函数块,以从Simulink运行MATLAB函数.在此函数中,您可以调用 SYSTEM 函数来执行操作系统命令.
You should be able to use an Embedded MATLAB Function Block to run a MATLAB function from Simulink. Within this function you can make a call to the SYSTEM function to execute an operating system command.
这篇关于从Simulink进行系统调用可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!