Which ever variables you would like to be in the workspace simply save them off to the base workspace by doing
myVar = 5
in this case assignin takes three arguments. First, the workspace to save the variable. Second, the name of the variable. Lastly, the value of the variable.