S-Function read from texfile

2 次查看(过去 30 天)
octus_ma
octus_ma 2018-6-22
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...

回答(1 个)

Tamir Suliman
Tamir Suliman 2018-6-23
<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 >

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2014b

Community Treasure Hunt

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

Start Hunting!

Translated by