zack00 <email@example.com> wrote in message <firstname.lastname@example.org>... > Hello, > > Anybody knows how to transfer a variable between Workspace and a function? > > For example, inside a function I want to export a variable to Workspace or get a variable from Workspace. How should I do? > > Thanks.
function [export_to_Workspace] = function_Name(get_from_Workspace)
You can also use globals (if you really must).
If you are looking for some other solution, can you be more specific?