comment in MatLab

 inline function in MatLab


What is inline function?
Inline function in function is like macro in variable.
When you use Iinline function, the interpreter will expand the inline function to your code.

How to create inline function?
keyword inline.

[syntax]

inline a b
will be expanded as b given a

[NOTE]

It must be seperated by space.

more details on:

Comments

Popular posts from this blog

diagonal matrix--diag

How to look at a keyword through code in MatLab? -- MatLab