How to read an input text file in a matlab program??

5 次查看(过去 30 天)
A=3
B=5
Read this text file

回答(2 个)

Omkar Bhanap
Omkar Bhanap 2018-9-29
If you want to read the numerical values from a data file, excel files are the best. 1. Go to the file location in the current folder window 2. Right click on the file you want to import data. 3. select import data 4. In the import window, choose proper configuration done.

Walter Roberson
Walter Roberson 2018-9-29

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by