S-Function read from texfile

2 views (last 30 days)
octus_ma
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.
Thanks!
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.6.6.0.0.0.0.237.458.2-2.2.0....0...1c.1.64.psy-ab..4.0.0....0.mCOdMlfT84E matlab >

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Products


Release

R2014b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!