call other programs in matlab

Status
Not open for further replies.

aaissa70

Newbie level 6
Joined
Sep 15, 2010
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,358
hi plz

i want call seconde programs in my first programs in matlab how i do
 

If you have both matlab program ....the better to convert first program as function and call this converted function in first program....

Good luck
 

thank you for reply but how i convert my program to function
 

Ok first of all you need to understand some basics about how to write the functions ..... So what you do post both of you code and mention which program you want to call in another program with some description..... I will modify the code and post it across... Generally way it is written is matlab using following steps-
1) one need to have both function and it's caller in same folder
2) one need to set the path of matlab command execution to that folder.
3) the function name and file name for that function need to be same in matlab.

Good luck
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…