Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Simple, only supports ifdef/endif/else with define/undef and simple syntax for doing boolean expressions.
My apologies to the author of the MPP package (also available). I needed something quick & dirty. Seems to work. Comes with test file.
Zitieren als
Misha Koshelev (2026). C-style MATLAB preprocessor (https://de.mathworks.com/matlabcentral/fileexchange/26713-c-style-matlab-preprocessor), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.4.0.0 (2,98 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.4.0.0 | Swapped rmdir and path statements to avoid warning. |
||
| 1.3.0.0 | Added support for pre-specifying defines on command line (_very_ raw). Also use new path each time, so that can actually run several instances of MATLAB, same m1 file, different defines, concurrently. |
||
| 1.2.0.0 | Support for simple recursion (see examples). |
||
| 1.1.0.0 | Changed based on comments - thank you. Intended use for others is by running mpp('mpptest',param). Added some comments. Simple but works well. |
||
| 1.0.0.0 |
