Prev: Audemars Piguet Royal Oak Offshore Jewellery Collection
Next: Try Free Project Management Software
From: Danh on 4 Jun 2010 04:42 I have a question and I can't find the answer on the web. So I would like to ask? I'm programing with m-file, and in that file, there are two statements: set_param('PID_Motor','SimulationCommand','start'); pause(0.5); I think after the first statement, Matlab will start to work with simulink file "PID_Motor", so I write the second statement to ensure that after the simulink file finish computation then continue do next statement in m-file. And my question is: need to write the second statement or not? Because there are two cases here: - if Matlab do threats parallelly, then I should insert the second statement, because after the first statement, Matlab will do 2 threats in the same time: start simulink file "PID_Motor" and do statement "pause(0.5)". - If not, after the first statement, Matlab will only start working with simulink file "PID_Motor", and just only when finish working with this file, Matlab will compute the next statement. I hope I explain my problem easily to understand and some one who's professional with Matlab will help me ! Thanks!
|
Pages: 1 Prev: Audemars Piguet Royal Oak Offshore Jewellery Collection Next: Try Free Project Management Software |