is it possible to write a function inside a script?
Mostra commenti meno recenti
is it possible to write a function inside a script? for example is it possible to put at the end of the script?
Risposta accettata
Più risposte (2)
Lucijano Berus
il 19 Mar 2018
1 voto
calling subfunctions: https://www.coursera.org/learn/matlab/lecture/9N7ZS/subfunctions
1 Commento
Walter Roberson
il 19 Mar 2018
subfunctions are not relevant to the question of whether you can define a function inside a script.
John D'Errico
il 28 Giu 2015
0 voti
Short answer: No.
Longer answer: Nnnnnooooo.
Not much else I can say.
Categorie
Scopri di più su Block and Blockset Authoring in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!