how to run a matlab code at a certain rate

hi, i'm trying to simulate a code in simulink using interpreted matlab function, but the code need to be executed at a fixed interval of time(let's say at 1khz). i guess the interpreted matlab function has some restrictions regarding the variables. i'm new at using matlab and having a little trouble doing it. please help out! thanx.

Answers (0)

This question is closed.

Products

Asked:

on 31 Jan 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!