S-Function read from texfile

2 views (last 30 days)
octus_ma on 22 Jun 2018
Answered: Tamir Suliman on 23 Jun 2018
Hi all,
i want to read out values from a textfile with an S-Function. The size of the textfile is not known. The S-Function should therefore have a dynamically output port. Can someone provide me an S-Function, which can fullfill it? I would be very happy about that.
Textfile can be like:
0 2 3 4 5 7 8 9 10 11 12...

Answers (1)

Tamir Suliman
Tamir Suliman on 23 Jun 2018
<https://www.google.com/search?ei=kbkuW4KCNIbzgQaNoorYAw&q=s+function+read+from++text+file&oq=s+function+read+from++text+file&gs_l=psy-ab.12...3958.4853.0.6341. matlab >


Find more on Block Authoring and Simulation Integration 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!