[SOLVED] how to connect small small programs in matlab

Status
Not open for further replies.

kilbil

Junior Member level 3
Joined
Oct 13, 2010
Messages
26
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,283
Activity points
1,437
i have written many small small subprograms in matlab for my project,but now i want to form a single main program from them,
how to join these small small programs?

is it same as C program in which we define different functions and then we call those functions in the main program??
 

That's correct. The file name should be the same as the function name.
 
Reactions: kilbil

    kilbil

    Points: 2
    Helpful Answer Positive Rating

Yup, it is the same. It find it amusing that you have created "small small subprograms"

but if you are a beginner, have a look at this

https://www.google.com/#hl=en&sourc...aqi=g10&aql=&oq=&gs_rfai=&fp=8aa8389fa13ef6e9
 
Reactions: kilbil

    kilbil

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…