08-17-2015 03:58 PM
08-18-2015 11:29 AM - edited 08-18-2015 11:29 AM
Hi jwinkelmann12,
This sounds like it's simply an issue of your computer crashing due to the memory requirements of your application. What occurs when you run your .m code in the MATLAB® environment?
If the same behavior occurs, you'll need to reduce the memory requirements of your program or investigate whether upgrading your hardware will prevent memory from getting so high.
MATLAB® is a registered trademark of The MathWorks, Inc.
Regards,
08-18-2015 11:38 AM
I think the memory is somehwat of a problem. But even when I keep my buffer size small, why do variables that are not invovled in the input to the matlab script cause the computer to crash. For example multiplying a user input by 2 for the sampleing rate of an AO ouptut board causes the program to crash. Even if the user input is reduced by 1/2 to make it be the same value (as be before when the program ran fine).
08-19-2015 10:33 AM - edited 08-19-2015 10:33 AM
Hi jwinkelmann12,
Does this issue occur when you run your code in the MATLAB® environment?
Do you see the memory always increase when the program/computer crashes?
MATLAB® is a registered trademark of The MathWorks, Inc.
Regards,