Info

此问题已关闭。 请重新打开它进行编辑或回答。

what does sample time specifically do?

1 次查看(过去 30 天)
apps download
apps download 2014-1-31
关闭: MATLAB Answer Bot 2021-8-20
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'm trying to write a pid code using this user defined function to implement in the embedded system) i guess the interpreted matlab function has some restrictions regarding the variables. is it done by setting the sample time? i read the document on sample time and i couldn't find out what it does. could some one explain me the concept?? i'm new at using matlab and having a little trouble doing it. please help out! thanx.

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by