KaKiLa

Joined 16 November 2011
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
[https://sites.google.com/site/juanpicarbajal/ Juan Pablo Carbajal]
[https://sites.google.com/site/juanpicarbajal/ Juan Pablo Carbajal]


= Tips and Tricks=
= Useful make options=
== Get file info when generate_html fails or warns==
Since generate_html gives errors about the random files generated, it is useless when debugging help text. The following command shows the first few lines of the files created by generate_html.
 
<pre> f_old=/tmp/$(ls -1 -t /tmp | head -1);while true; do f=/tmp/$(ls -1 -t /tmp | head -1); if [ "$f" != "$f_old" ]; then echo $f; grep '@def' --include="*octave-help*" $f; f_old=$f; fi; done</pre>
 
run this in a different terminal before using generate_html
is not ideal,but it does the trick
 
== Make options ==
Some options to pass to make when compiling from source
 
# <pre> DOC_TARGETS= </pre> avoids building the PDF but still builds function helps.
# <pre> DOC_TARGETS= </pre> avoids building the PDF but still builds function helps.
# <pre> --disable-atomic-refcount</pre> improves performance when building CLI only.
# <pre> --disable-atomic-refcount</pre> improves performance when building CLI only.


== Getting help from CLI==
= getting help =
# know the function --> <code>help function_name</code> or <code>help function_name</code>.  
# know the function --> <code>help function_name</code> or <code>help function_name</code>.  
# Know what to do but not the function name --> <code>lookfor what_to_do</code>.  
# Know what to do but not the function name --> <code>lookfor what_to_do</code>.  
Line 115: Line 104:
May be good to port [http://www.mathworks.com/matlabcentral/fileexchange/16233-sc-powerful-image-rendering SC] as well
May be good to port [http://www.mathworks.com/matlabcentral/fileexchange/16233-sc-powerful-image-rendering SC] as well


== EPA software suite ==
Create native interfaces to the EPA software suites
[[See this group https://github.com/OpenWaterAnalytics]]
=== SWMM ===
* [https://www.epa.gov/water-research/storm-water-management-model-swmm Official page]
* Check work done in [https://github.com/water-systems/MatSWMM MatSWMM] [http://digital.csic.es/bitstream/10261/132982/1/MatSWMM.pdf article]
=== EPANET ===
* [https://www.epa.gov/water-research/epanet Official page]


== Old projects ==
== Old projects ==
Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: