Scripted creation of a project in the Linux command line

From Dynamo
Revision as of 10:46, 22 September 2016 by Daniel Castaño (talk | contribs) (Created page with "It is possible to fully run ''Dynamo'' outside of Matlab AND the ''Dynamo'' standalone, as described in standalone#For independent commands Here we show how to create...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

It is possible to fully run Dynamo outside of Matlab AND the Dynamo standalone, as described in standalone#For independent commands

Here we show how to create from scratch a project.

We then create a single script where we write all the commands that we would use interactively to create a project. Use any editor in your system to open a file, let's call it createProject.sh, and input the lines:

dynamo_vpr prtest dynamo_vpr_put prtest -data ttest/data dynamo_vpr_put prtest -template ttest/template.em dynamo_vpr_put prtest -table ttest/initial.tbl dynamo_vpr_put prtest -mask ttest/mask.em dynamo_vpr_put prtest -cmask ttest/mask.em dynamo_vpr_put prtest -fmask ttest/fmask.em dynamo_vpr_put prtest -smask ttest/mask_smoothing.em dynamo_vpr_put prtest -ite_r1 2 dynamo_vpr_put prtest -ca_r1 360 dynamo_vpr_put prtest -cs_r1 45 dynamo_vpr_put prtest -dim_r1 32 dynamo_vpr_put prtest -destination standalone dynamo_vpr_check prtest dynamo_vpr_unfold prtest

Now, you can run this script in a Linux shell (provided you have activated standalone#Activating the standalone Dynamo in it)