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.
INLINEDEF gives the appearance of defining a function or class in a script (minus syntax highlighting), though a separate M-file containing the function or class definition is actually auto-generated and saved on the Matlab path - and is not more specifically scoped.
The main advantage of using INLINEDEF over creating the M-file directly is centralisation of source code, that is, all source code that relates only to the script can, effectively, be stored in the script. This is useful if one's work is of quite an exploratory nature where functions often have limited use outside a specific, temporary context.
Click here for a full HTML description:
http://au.mathworks.com/matlabcentral/fileexchange/50908-inlinedef--define-functions-in-scripts/content/html/inlinedef.html
Zitieren als
Max (2026). INLINEDEF: Define functions in scripts (https://de.mathworks.com/matlabcentral/fileexchange/50908-inlinedef-define-functions-in-scripts), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert von: verbatim: Get the text of a block comment.
Allgemeine Informationen
- Version 1.1.0.0 (6,92 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0.0 | Added link to HTML description
|
||
| 1.0.0.0 | Added examples in the Description section |
