Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Matlab newbie-simple question

1 Ansicht (letzte 30 Tage)
Shalini
Shalini am 6 Nov. 2012
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have got reasonable good exposure to programming but relatively new to Matlab.
Simple question:
1)In matlab the file name (.m file) has to be same as the function name.Does that mean I can have only 1 function per file?

Antworten (2)

Harshit
Harshit am 6 Nov. 2012
Hi Shalini, You can have multiple functions in a file. These are called local functions. Why don't you look at this http://www.mathworks.in/help/matlab/matlab_prog/local-functions.html?s_tid=doc_12b

Vishal Rane
Vishal Rane am 8 Nov. 2012

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by