I clone the MatlabDocMaker.m file which is well parsed by mtocpp and I give it an other name such as exampmle.m
It the latter, I change the fist word classdef with function.
I run mtocpp (MatlabDocMaker.create) to produce the documentation of all files, example.m included.
Now I have also a segfault on example.m.
What'qs wrong with the function keyword ?
Comments and Ratings on Francois Rongère's Files
12 Dec 2013
A matlab class for easy instrumention of for loops with timing feedbacks on the command line
Author: Francois Rongère
dispstat('','init'); % One time only initialization
dispstat(sprintf('Begining the process...'),'keepthis','timestamp');
for i = 97:100
%doing some heavy stuff here
11:25:37 Begining the process...
11:25:37 Progress 100%
Is it possible to output the record number on the prompt as it loads each record in the datafile? If the number of records are too large, can the cursor give any indication or percentage of the amount of file read or number of records read? Thanks.
Unfortunately, JSON comment using // or % is not part of the specification. A common workaround is to put comments into an element with special names, for example "_help" or "::comment::" etc, load the entire object, but not to use those values. JSONlab can handle special characters in the name fields, so you can name a comment quite distictively.
How to use % or // or anything else to comment a particular field in a json file so that loadjson will not give an error:
Error using loadjson>error_pos (line 431)
JSONparser:invalidFormat: String starting with " expected at position 3267:
Alternately, if we want skip a field while loading (say, "_id" : ), is there a way to do this?
Compact JSON output is now supported, see my latest commit:
add ('Compact',1) to the savejson parameter list to enable this feature.
the only formatting white space left now is the space after the colon. I will remove them in my future updates.