??? Error using ==> save Unknown command option.

5 次查看(过去 30 天)
Hi, can anyone help me to solve the following error? thank you.
script:
num_rows = input('Enter number of rows:');
num_cols = input('Enter number of columns:');
multmatrix = multtable (num_rows, num_cols);
save mymulttable.txt multmatrix - ASCII
Command window:
>> createmulttab
Enter number of rows:6
Enter number of columns:4
??? Error using ==> save
Unknown command option.
Error in ==> createmulttab at 4
save mymulttable.txt multmatrix - ASCII

采纳的回答

Walter Roberson
Walter Roberson 2012-2-6
No space between the '-' and the 'ASCII'

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by