Can we call Per script , from Level 2 S Function ?
1 次查看(过去 30 天)
显示 更早的评论
Working on S Function of a block. Using C to write it.
Need to call a Perl script once the simulation is over .
I know how to call perl script from command window , but is it possible to embedded the perl call in SFunction ?
0 个评论
回答(1 个)
Walter Roberson
2014-5-15
The C code could use fork() and exec*() and pipe(), or it could use popen(). All those are system calls that are not part of the C standard library and so are not certain to be supported on arbitrary architectures.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!