MATLAB Answers


xPC file scope which overwrites except when specified

Asked by Alex Broekhof on 21 Aug 2013

I would like to create a file scope which is continually saving data to a single file. This file will be overwritten except if a signal is received to keep that segment. I was thinking about using a signal-triggered file scope with pre-trigger sampling. However, I need ~30 minutes of samples. Can pre-trigger sampling handle this? Also, what happens if the the target has not run long enough to fill the pre-trigger sample buffer?


Log in to comment.

0 Answers

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!