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 Comments

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?
Yea good point I will just do that.

Sign in to comment.

Answers (0)

Categories

Asked:

on 18 Jun 2021

Commented:

on 21 Jun 2021

Community Treasure Hunt

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

Start Hunting!