Discussion:
minimum sample time in SIMULINK
(too old to reply)
asad mahmood
2004-06-14 15:06:14 UTC
Permalink
hi

does anyone know what is the minimum sampling time in SIMULINK?
i owrk with 1e-6 , it works fine but for 1e-7, it does not......:(
Bernhard Holzmayer
2004-06-15 07:11:39 UTC
Permalink
Post by asad mahmood
hi
does anyone know what is the minimum sampling time in SIMULINK?
i owrk with 1e-6 , it works fine but for 1e-7, it does not......:(
Hi Asad,

sometimes it's not the best approach to use real time units like
1e-6 for microseconds.

I found it helpful sometimes, to use a sample time of 1 which
indicates my sample time unit (e.g. 1==1e-6sec.)
Then adjust all other element's configuration values so that they
scale accordingly.

Thus, you can easily overcome your limitation.

HTH,
Bernhard
Stuart McGarrity
2004-06-15 13:09:41 UTC
Permalink
There is nothing wrong with using sample times like 1e-6 or smaller. You
will need to change your simulation parameters from the default. Probably
safer using a discrete solver.

Stuart
Post by Bernhard Holzmayer
Post by asad mahmood
hi
does anyone know what is the minimum sampling time in SIMULINK?
i owrk with 1e-6 , it works fine but for 1e-7, it does not......:(
Hi Asad,
sometimes it's not the best approach to use real time units like
1e-6 for microseconds.
I found it helpful sometimes, to use a sample time of 1 which
indicates my sample time unit (e.g. 1==1e-6sec.)
Then adjust all other element's configuration values so that they
scale accordingly.
Thus, you can easily overcome your limitation.
HTH,
Bernhard
asad mahmood
2004-06-15 14:05:45 UTC
Permalink
tx stuart
Post by Stuart McGarrity
There is nothing wrong with using sample times like 1e-6 or
smaller. You
will need to change your simulation parameters from the default. Probably
safer using a discrete solver.
Stuart
in
Post by Stuart McGarrity
Post by Bernhard Holzmayer
Post by asad mahmood
hi
does anyone know what is the minimum sampling time in
SIMULINK?
Post by Stuart McGarrity
Post by Bernhard Holzmayer
Post by asad mahmood
i owrk with 1e-6 , it works fine but for 1e-7, it does
not......:(
Post by Bernhard Holzmayer
Hi Asad,
sometimes it's not the best approach to use real time units
like
Post by Stuart McGarrity
Post by Bernhard Holzmayer
1e-6 for microseconds.
I found it helpful sometimes, to use a sample time of 1 which
indicates my sample time unit (e.g. 1==1e-6sec.)
Then adjust all other element's configuration values so that
they
Post by Stuart McGarrity
Post by Bernhard Holzmayer
scale accordingly.
Thus, you can easily overcome your limitation.
HTH,
Bernhard
asad mahmood
2004-06-15 12:16:20 UTC
Permalink
Post by asad mahmood
Post by asad mahmood
hi
does anyone know what is the minimum sampling time in SIMULINK?
i owrk with 1e-6 , it works fine but for 1e-7, it does
not......:(
Hi Asad,
sometimes it's not the best approach to use real time units like
1e-6 for microseconds.
I found it helpful sometimes, to use a sample time of 1 which
indicates my sample time unit (e.g. 1==1e-6sec.)
Then adjust all other element's configuration values so that they
scale accordingly.
Thus, you can easily overcome your limitation.
HTH,
Bernhard
hi bernhard

yea it would be a good idea to use the relative approach if that
doesnt affect the simulation performance...
tx again...:)
asad
Loading...