Dynamo console

From Dynamo
Revision as of 18:29, 29 April 2016 by Daniel Castaño (talk | contribs)
Jump to navigation Jump to search

The Dynamo console is a device that substitutes the Matlab command line when you are using an standalone version of Dynamo.


Activating the console

The console can be invoked in a Linux shell that has been activated to work with the standalone version. In such a shell, you can write

dynamo x

and after some more or less long waiting, you will get a console with the prompt:

Dynamo >>

This console has almost the same syntax as the Dynamo matlab commands. Most usual commands can be passed without special adaption, for instance the commands that we input in the Matlab prompt as:

>> dtplot myFile.tbl;

reads in the Dynamo console as:

Dynamo >> dtplot myFile.tbl;

Commands that are not registered in the standalone can still be used in the console preceding them with \. For instance, all commands inside packages are not registered.

I.e. the command for Matlab:

>> mbimg.show(rand(64,64));

can be passed to the console through:

>> \mbimg.show(rand(64,64));