How to get the data.dat from target computer to host computer with XPC API function?

I use C api function, i want to get data.dat from target computer,but i don't know which API function can copy the file to host computer. please help me !!thank you!!

Réponses (1)

Looks like you need xpctarget.ftp.get

4 commentaires

xpctarget.ftp.get it is a matlab command ,i want to konw how to copy the file data.dat from target commputer to host commputer by C api function .for example i konw XPCopenfile() and XPCreadfile().i don't know which function can copy the file to host computer.if it has not this function,how can i get the data of data.dat from target computer to host computer.I would like to know the steps. thank you! i am sorry to my poor english.
Meijun: I don't know about XPCopenfile and XPCreadfile - are these documented in the product?
yes, you can get these functions from xpc help files.The Directory is xPC Target\\Reference\\C API Functions\\File Systems
Ah! I haven't used the X API functions, but you can see the full list here: http://www.mathworks.com/help/xpc/ref/c-api-functions.html
The sections "Data Logs" and "File Systems" might be useful to you.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by