S-Function read from texfile

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...

Réponses (1)

Tamir Suliman
Tamir Suliman le 23 Juin 2018

0 votes

<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 >

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Produits

Version

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by