How do I create a simple Octave distributable without installing Octave

前端 未结 7 1077
野趣味
野趣味 2020-12-01 05:50

The Octave documentation on this subject is both intimidating and sparse.

I did not know where else to document the solution I found, so I am posting here. I apolog

7条回答
  •  再見小時候
    2020-12-01 06:03

    Something I found when linking my custom m file into an Octave standalone:

    1. Needed #include
    2. Replace return 0; (as above) with clean_up_and_exit(0);

    Without these steps my program repeatedly crashed on exit.

提交回复
热议问题