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

3 ビュー (過去 30 日間)
newiuht
newiuht 2012 年 2 月 6 日
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 Center および File ExchangeLanguage Fundamentals についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by