XPC-target: Output data to Host pc

2 views (last 30 days)
Raffaele
Raffaele on 7 May 2013
Good afternoon, I'am doing a simulation with xpc-target, I have my host computer connected to a target computer to control a certain plant. I am interested in saving data from the simulation to Matlab Workspace in my host computer. So I added some Output ports were I need to collect these data (so now they are saved in a tg structure in the workspace) but I noticed that the more I have a high sampling frequency of my system, the less data I can collect (with a sampling time of 0.0001s I can only store less than 1 second of data in the workspace, in particular the last datas in time). How can I store more data, for instance all data that I collect during the simulation and not only a limited fraction?? Thanks for your help,best
Raffaele

Answers (1)

Manikandan
Manikandan on 7 May 2013
hi, try to save your data in to MS excel by using 'to file' tool.

Categories

Find more on Animation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!