Embedded MATLAB and Infinite Sampling Time

bmairs
Posts: 69
Joined: Mon Jul 27, 2009 7:51 pm

Embedded MATLAB and Infinite Sampling Time

Postby bmairs » Wed Feb 03, 2010 10:21 pm

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.

Return to “Advanced Simulink & RTW Questions”

Who is online

Users browsing this forum: No registered users and 2 guests