Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Any waitFor system() command?

Subject: Any waitFor system() command?

From: Hoi Wong

Date: 7 Apr, 2009 18:32:01

Message: 1 of 1

It seems like MATLAB's system() command does not wait for the the called program to return before moving on. Is there any way to get around that? For my MATLAB program, I need to do "ipconfig /release" and "ipconfig /renew" frequently, and obviously if MATLAB moved on without waiting for "ipconfig /renew" to complete, my program won't work (it's remote DCOM). Any suggestions?

Thanks in advance!

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us