Originally reported by: Sandor Toth (Bitbucket: tothsa, GitHub: Unknown)
In Matlab function without input can have a simple header such as
#!Matlab
function pi = pival
% calculates the value of pi
pi = 3.1415;
In Matlab no brackets after the name of the function are necessary, however the missing brackets crashing sphinx. I know there is an easy fix, just adding the empty brackets after the name of the function. But it took me a long time to debug my Matlab documentation.
Originally reported by: Sandor Toth (Bitbucket: tothsa, GitHub: Unknown)
In Matlab function without input can have a simple header such as
In Matlab no brackets after the name of the function are necessary, however the missing brackets crashing sphinx. I know there is an easy fix, just adding the empty brackets after the name of the function. But it took me a long time to debug my Matlab documentation.