Difference between revisions of "Dynamo console"
Line 14: | Line 14: | ||
<tt> | <tt> | ||
Dynamo >> | Dynamo >> | ||
− | </> | + | </tt> |
− | This console has almost the same syntax as the ''Dynamo'' matlab commands. | + | 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: |
+ | |||
+ | <tt> | ||
+ | >> dtplot myFile.tbl; | ||
+ | </tt> | ||
+ | |||
+ | reads in the ''Dynamo'' console as: | ||
+ | |||
+ | <tt> | ||
+ | Dynamo >> dtplot myFile.tbl; | ||
+ | </tt> | ||
+ | |||
+ | Commands that are not registered in the [[standalone]] can still be used in the console preceding them with {{t|\}}. For instance, all commands inside [[Package notation|packages]] are not registered. | ||
+ | |||
+ | I.e. the command for Matlab: | ||
+ | |||
+ | <tt> | ||
+ | >> mbimg.show(rand(64,64)); | ||
+ | </tt> | ||
+ | |||
+ | can be passed to the console through: | ||
+ | |||
+ | <tt> | ||
+ | >> \mbimg.show(rand(64,64)); | ||
+ | </tt> |
Revision as of 17:29, 29 April 2016
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));