mHelpMe
mHelpMe

Reputation: 6668

Run c# console application from within MATLAB

I have a c# console application that grabs some data. Is there a way in MATLAB to call the c# code to run and wait for the c# code to finish before it continues executing the rest of the MATLAB code?

Upvotes: 1

Views: 170

Answers (1)

User1551892
User1551892

Reputation: 3364

Try following command:

dos(['"Path to executeable file" "' ]);

If you have to supply input argument as well then try this:

dos(['"Path to executeable file" "InputArgument" ']);

Upvotes: 2

Related Questions