![Capture.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/144645/Capture.jpeg)
is it possible to execute matlab function used in simulink just once ? if the answer is yes, how can i do that ?
1 view (last 30 days)
Show older comments
is it possible to execute matlab function used in simulink just once ? if the answer is yes, how can i do that ?
0 Comments
Answers (1)
Karl Erik Thoresen
on 17 Jan 2019
1.Yes
2. Use an event listner and interpreted matlab fcn block like below.
![Capture.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/144645/Capture.jpeg)
0 Comments
See Also
Categories
Find more on Simulink Functions 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!