input - How to read from console in MATLAB? -


how read string or character matlab console (command window)?

see request input complete reference

reply = input('do want more? y/n [y]: ', 's'); if isempty(reply)     reply = 'y'; end 

Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -