matlab seems to be inserting line feeds in my typed commands.

4 ビュー (過去 30 日間)
Nicholas Cassavaugh
Nicholas Cassavaugh 2022 年 10 月 21 日
At times I will type in a matlab command in the the matlab command window, and Matlab seems to insert a carriage return somehwere in the command line when I press enter. This invariably causes matlab to return an "invalid expression" or other error.
Example
I type:
matrix=double(matrix)
and after I press enter, what I see is:
» matrix=doub
le(matrix)Unrecognized function or variable 'doub'
I have search many times over the last year or so and can never find a reason for this. Sometimes if I retry repeatedly, it will work. Sometimes I just have to "turn it off and on again".
ideas?
Nick
  2 件のコメント
DGM
DGM 2022 年 10 月 21 日
Is it possible that this is being caused by lag spikes? That is, do you type the command and hit enter rapidly, or is there a significant delay between completing the command entry and hitting enter?
Nicholas Cassavaugh
Nicholas Cassavaugh 2023 年 9 月 12 日
Ultimately, I don't know. I'm no longer needing to work at the command line in Matlab.

サインインしてコメントする。

回答 (1 件)

Steven Lord
Steven Lord 2022 年 10 月 21 日
Are you running MATLAB with the -nodesktop option on Windows? Are you using either the un-updated release R2022a or Update 1 or 2 of R2022a? If the answers to both those questions are "yes" see bug report 2687837.
  1 件のコメント
Nicholas Cassavaugh
Nicholas Cassavaugh 2023 年 9 月 12 日
I no longer need to do this work so the point has become moot. Thank you for attempting to help me though.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by