Click here to Skip to main content
16,011,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDebug Assertion Falied !! :(((( Pin
Alex H 19838-Jan-03 10:42
Alex H 19838-Jan-03 10:42 
GeneralRe: Debug Assertion Falied !! :(((( Pin
l a u r e n8-Jan-03 10:48
l a u r e n8-Jan-03 10:48 
GeneralQuick question.. Pin
Subrahmanyam8-Jan-03 8:38
Subrahmanyam8-Jan-03 8:38 
GeneralRe: Quick question.. Pin
l a u r e n8-Jan-03 8:52
l a u r e n8-Jan-03 8:52 
GeneralRe: Quick question.. Pin
Subrahmanyam8-Jan-03 9:20
Subrahmanyam8-Jan-03 9:20 
GeneralRe: Quick question.. Pin
l a u r e n8-Jan-03 10:31
l a u r e n8-Jan-03 10:31 
GeneralRe: Quick question.. Pin
Alvaro Mendez8-Jan-03 11:04
Alvaro Mendez8-Jan-03 11:04 
Generalinteresting problem Pin
Sunnygirl8-Jan-03 8:03
Sunnygirl8-Jan-03 8:03 
hello @all,

i need an instruction which waits until MATLAB will finish it's job.

earlier forum question:

hello @all,

i try to explain what i want / must do :

i have something like this:

i=0;<br />
while(i<5)<br />
{<br />
// reading out a com <br />
// get datasets and process them<br />
// send the processed datasets to MATLAB to get a diagram<br />
// the diagram is seen in my mfc-program (but came from matlab)<br />
i++;<br />
}<br />

the only problem is the while loop. without these, the program part runs perfectly. however i need a while loop or something like that.

i think, the problem lie in the fact that the program sends the data to matlab and then directly in the code continues to go. possibly different processes run off parallel.

i think i must have something that waits so long, till matlab is ready with the diagram (i tried Sleep(1000) but it do not work).
maybe somebody know, if matlab has got a 'instruction' or if i can make something like a 'queue'.

thank you very much
happy



GeneralRe: interesting problem Pin
jmkhael8-Jan-03 8:14
jmkhael8-Jan-03 8:14 
GeneralRe: interesting problem Pin
Sunnygirl8-Jan-03 8:39
Sunnygirl8-Jan-03 8:39 
GeneralRe: interesting problem Pin
Sunnygirl8-Jan-03 9:17
Sunnygirl8-Jan-03 9:17 
GeneralGetCurrentDirectory vs GetModuleFileName Pin
Bash8-Jan-03 7:41
Bash8-Jan-03 7:41 
GeneralRe: GetCurrentDirectory vs GetModuleFileName Pin
User 66588-Jan-03 7:52
User 66588-Jan-03 7:52 
GeneralRe: GetCurrentDirectory vs GetModuleFileName Pin
Bash8-Jan-03 8:06
Bash8-Jan-03 8:06 
GeneralRe: GetCurrentDirectory vs GetModuleFileName Pin
Tim Smith8-Jan-03 8:39
Tim Smith8-Jan-03 8:39 
GeneralRe: GetCurrentDirectory vs GetModuleFileName Pin
User 66588-Jan-03 8:40
User 66588-Jan-03 8:40 
Generalrotating transparent bitmap causes a halo of transparent color around bitmap Pin
yoshibebe8-Jan-03 7:27
yoshibebe8-Jan-03 7:27 
GeneralRe: rotating transparent bitmap causes a halo of transparent color around bitmap Pin
Christian Graus8-Jan-03 10:16
protectorChristian Graus8-Jan-03 10:16 
GeneralSetting Focus on Property Page Pin
Anonymous8-Jan-03 7:03
Anonymous8-Jan-03 7:03 
GeneralRe: Setting Focus on Property Page Pin
Al_Pennyworth8-Jan-03 8:31
Al_Pennyworth8-Jan-03 8:31 
Questionanyone know this error ? Pin
joshfl8-Jan-03 6:54
joshfl8-Jan-03 6:54 
AnswerRe: anyone know this error ? Pin
joshfl8-Jan-03 7:01
joshfl8-Jan-03 7:01 
GeneralRe: anyone know this error ? Pin
Nitron8-Jan-03 7:09
Nitron8-Jan-03 7:09 
GeneralRe: anyone know this error ? Pin
joshfl8-Jan-03 7:39
joshfl8-Jan-03 7:39 
GeneralMRU Pin
tsb8-Jan-03 6:51
tsb8-Jan-03 6:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.