I’m pretty new in Julia: I’ve to integrate some MatLab code…I found an automatic ttranslator from MatLab to Julia. after the translation I got that error…on this line of code…

fprintf(f_initial,"#g ",x[:,1)]

where x was calculated by calling a function

x = create_sample(p, dirichlet_initial, dirichlet_transition,num_transition_samples)

The error seems related to some wrong syntax

ERROR: LoadError: syntax: missing separator in array expression

Is there anything wrong in the syntax?

Thanks a lot