MATLAB: Notation notation what does () mean in the line below? x=somefunction() Best Answer Then somefunction.m does not take input arguments for example:function x = somefunctionx = 2;endif you callx = somefunction()you get x = 2you can also just enterx = somefunction; Related SolutionsMATLAB: Should I indicate no input arguments to a function If a function requires no inputs, I prefer to use () after calls to it. It is unambiguous, and saved remember whether the name is a function directly or a function handle (function handles require the () to call them) MATLAB: Publish pdf from compiled executable via MCR the short answer to your question would be NO, see http://www.mathworks.co.uk/help/compiler/unsupported-functions.htmlProbably not what you wanted to hear (nor me). Related QuestionHow can I plot this exponential functionError in creating a function
Best Answer