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

4 Ansichten (letzte 30 Tage)
newiuht
newiuht am 6 Feb. 2012
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

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 6 Feb. 2012
No space between the '-' and the 'ASCII'

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by