How can i pass arguments into a matlab function called from system cmd ?

1 view (last 30 days)
Dear all,
I am calling Matlab from R, through system command.
So far I succeeded to run Matlab in the write working directory, to execute simple function (e.g. “exit”) or even personal function (say “X.m”) that does not requires arguments. However, my objective is to execute a personal function, say Y.m, that requires specifying a number of arguments (say Y(y1, y2, y3, y4)). Would anyone happen to know the syntax to do such thing?
With regards

Answers (0)

Categories

Find more on Application Deployment in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!