Can we call Per script , from Level 2 S Function ?
Show older comments
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 ?
Answers (1)
Walter Roberson
on 15 May 2014
0 votes
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.
1 Comment
Ajay Pherwani
on 29 May 2014
Categories
Find more on Implement C/C++ Code Using S-Function Builder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!