Page 1 of 1

Embedded MATLAB and Infinite Sampling Time

Posted: Wed Feb 03, 2010 10:21 pm
by bmairs
I'm working on some of my own initialization blocks but am having trouble getting functions to only execute once. From what I understand a sampling time of "Inf" cause blocks to be executed once. I'm trying to do some parameter manipulation before passing these options to a C-function block. The Embedded MATLAB blocks don't seem to obey a specified sampling time of "Inf".

Has anyone done this and gotten this to work? I'm running MATLAB 2007a on WinXP 32-bit.