|03 Feb 2015||Publish dependent and called functions Publish explicitly called functions not found in the MATLAB root. See mfile for limitations.||YX Sun|
|17 Sep 2014||Publish dependent and called functions Publish explicitly called functions not found in the MATLAB root. See mfile for limitations.||Valeria||
Hi, is there a way to avoid multiple publishing of subfunctions that are called multiple times? Let's say for instance that I have created an auxiliary function that needs to be called twice with different argumetns. This way your tool will list it in the Called Functions twice and will attach it at the end of the document twice.
|13 May 2014||Publish dependent and called functions Publish explicitly called functions not found in the MATLAB root. See mfile for limitations.||Denis Anikiev|
|30 May 2013||Nick Angelini||
@jon there is not going to be a pdf version. This is simply spliced html code together. MATLAB uses a completely different method for creating pdfs. If you want pdfs look at the "Publish The Main And The Subfunctions Together". It creates a new mfile with all your functions then publishes it.
I don't know what you mean by doesn't publish first script alongside your functions.
The example makes two files. It creates a published file of all the files it thinks it needs and copies code from them into the "withfuncs" file.
If you think the code is not working properly either give me more info or send me the files so I can look at it.
|24 May 2013||jon||
Close but doesn't have pdf or publish my first script alongside my functions.
I have two separate files.. myfile & myfilewithfuncs. They are not a single file like the example makes.
I have two functions in separate scripts along with my main file. I also have one inline function.
|05 Feb 2013||Nick Angelini||
Updated to include ability to remove functions from publish list.
I can look into adding pdf output if I have time. It would take some effort considering I am splicing this together with html code and the default publish function does not create html code before making the pdf.
|31 Jan 2013||Michael||
This is great. I was wandering though if there is a way to suppress a particular function file? I am running a student version and I do not have the toolbox that includes the roundn function, so I am using one found here. I would rather this function not be published in order to keep my overall report looking better.
|20 Nov 2012||SeungGyu cho||
you're a jewel.
|15 Oct 2012||Wang Jing||
Great job! It will be perfect if the output can be pdf.
|29 Sep 2012||Mohammad||
Thanks for this code! It helped me to combine everything nicely for my programming class.
However, is there a way to combine everything into a .pdf? I'm currently copying everything published in HTML to Word and saving as a .pdf.
|19 Mar 2012||Jiro Doke||
Thanks for adding the web output in case of no output argument. "nargout" is the appropriate way to deal with that.
|06 Mar 2012||Arvind||
Thanks Nick... This is exactly what I needed
|13 Feb 2012||Nick Angelini||
Thanks for finding that. I have added it to the file and have submitted the updated version.
|07 Feb 2012||Mikhail||
However, it also includes my called MEX functions into the generated report (which looks kinda weird in the report).
I added the following around line 95 to mitigate this particular behavior:
%% Remove hits that are probably MEX functions
|23 Jan 2012||Nick Angelini||
I have added some crude support for displaying the html document when no output argument is given. I just used nargout. Is there a more elegant solution?
|19 Jan 2012||Jiro Doke||
Very nice entry Nick!
This may be about preference, but it would be nice if I call the function without any output argument, then it would open the published HTML in the MATLAB browser. This is the same behavior as "publish".
Otherwise, I really like it. I plan on highlighting this entry for this week's Pick of the Week.
Thanks for the submission!