How to have matlab write to command window and run

All I want is to have matlab write this line of code to the command window and run it
[VREconnected,model_info,movements,command] = ConnectMuJoCo_double()
using R2019b

2 件のコメント

Steven Lord
Steven Lord 2021 年 6 月 18 日
Why do you want MATLAB to "write this line of code to the command window"? Why not just execute it normally in a script or function file or in a class method?
Alex Kobilnyk
Alex Kobilnyk 2021 年 6 月 21 日
Yea good point I will just do that.

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEntering Commands についてさらに検索

質問済み:

2021 年 6 月 18 日

コメント済み:

2021 年 6 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by