From: Allison on 12 Jul 2010 11:39 Hi I am trying to collect data with XPC target but keep running into two particular problems depending on how I try to save the data collected. When using a To Workspace output, I can save the data, but only 1000 entries. I've checked in the particular block and in the Configuration Parameters dialog box that "Limit Data Points to Last" is either set to inf or disabled. When using an Output port to save it as the xpc object, I get a TCP/IP timeout error when trying to access it (e.g. ans = tg.out). I've used the code snippit floating around to change this, as well as unchecking 'Use default communication timeout' and supplying a generous 15s. It times out well before 15 seconds are up. I was wondering if anyone had a third alternative or solutions to either of these two problems. They would be appreciated :)
From: Thomas Marullo on 13 Jul 2010 18:31 Use xPC File Scope objects and retrieve the data this way: http://www.mathworks.com/support/solutions/en/data/1-1J7RAI/index.html?product=XP&solution=1-1J7RAI "Allison " <rubahness(a)gmail.com> wrote in message <i1fcuo$f2d$1(a)fred.mathworks.com>... > Hi > > I am trying to collect data with XPC target but keep running into two particular problems depending on how I try to save the data collected. > > When using a To Workspace output, I can save the data, but only 1000 entries. I've checked in the particular block and in the Configuration Parameters dialog box that "Limit Data Points to Last" is either set to inf or disabled. > > When using an Output port to save it as the xpc object, I get a TCP/IP timeout error when trying to access it (e.g. ans = tg.out). I've used the code snippit floating around to change this, as well as unchecking 'Use default communication timeout' and supplying a generous 15s. It times out well before 15 seconds are up. > > I was wondering if anyone had a third alternative or solutions to either of these two problems. They would be appreciated :)
|
Pages: 1 Prev: Unexpected MATLAB operator & preallocating errors Next: Fortan to Matlab |