Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I search a function to calculate microseconds in a time istant using matlab.
Posted
Comments
Sandeep Mewara 26-May-11 10:48am    
And?
Sergey Alexandrovich Kryukov 26-May-11 15:30pm    
Do not re-post!
--SA

1 solution

Your best bet would be providing a wrapper of QueryPerformanceCounter (see, for instance, http://support.microsoft.com/kb/172338[^]) in a shared library.
Anyway you should consider if such a requirement makes sense: after all you haven't a realtime OS.
 
Share this answer
 
v2
Comments
paskah 26-May-11 7:38am    
its can acces real time process?
CPallini 26-May-11 7:46am    
What do you mean, exactly?
paskah 27-May-11 1:36am    
i want to detected the distance an object moves, first step i must know about time when the signal was sent up to micro second precision, how matlab can retrieve the time in processor up to micro second, someone can help me to give me an example about the source code?
CPallini 27-May-11 4:39am    
Is it a simulation or are you talking about real moving object? How do you measure position and time?
paskah 27-May-11 5:57am    
its real moving object, im measure the position with radar system im detected the time delay when the signal trasmited and received an then im calculated with speed of light as fast as signal speed,from that im very need to know and can detected time when signal transmited and recived with microsecond precise.thanx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900