Google グループは Usenet の新規の投稿と購読のサポートを終了しました。過去のコンテンツは引き続き閲覧できます。
Dismiss

Re: Inf

閲覧: 0 回
最初の未読メッセージにスキップ

Prashant Sandhi

未読、
2010/02/23 10:47:042010/02/23
To:
I got the solution Mr.Oleg. Still I Thank you for your reply.
have a good day.

"Oleg Komarov" <oleg.komaro...@hotmail.it> wrote in message <hm0r4u$16b$1...@fred.mathworks.com>...
> "Prashant Sandhi" <sand...@gmail.com> wrote in message <hm0p37$hvp$1...@fred.mathworks.com>...
> > Dear friends,
> >
> > I want to display a message or value 'zero' when my condition is false.
> >
> > Simulink:
> > If condition block(I dont want to use else condition)
> >
> > If (u1<0.00019) (
> > Before this if condition I am doing u1-u2=0 and if true
> >
> > Action block (Embedded Matlab function):
> >
> > function y = fcn(u)
> > %#eml
> >
> > y = ((0.297/(u+u))-1)*(10000+1000000);
> >
> >
> > If not true:
> >
> > When condition is not true I am getting 'inf' display as I am simulating under 'inf'
> > but how can I make the display '0' or any message instead of 'inf'?
> >
> > any suggestion will be appriciated
> > Sandhi
>
> Not clear.
>
> Oleg

Prashant Sandhi

未読、
2010/02/23 9:35:192010/02/23
To:

Oleg Komarov

未読、
2010/02/23 10:10:222010/02/23
To:
"Prashant Sandhi" <sand...@gmail.com> wrote in message <hm0p37$hvp$1...@fred.mathworks.com>...

Not clear.

Oleg

新着メール 0 件