From: Heman Koka on
"us " <us(a)neurol.unizh.ch> wrote in message <i0j76h$nc1$1(a)fred.mathworks.com>...
> "Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j6r9$266$1(a)fred.mathworks.com>...
> > Hi us,
> >
> > Thankx for the response. I would like to know if this code for conversion should be written in a .m file or on command prompt of MATLAB.
> >
> > Thank you
>
> plase, do NOT top-post...
>
> then, it's a matter of taste...
> eg,
> - if you have one file only -> command prompt...
> - if you have >one file -> M-file...
>
> us

Hi us,

I tried running the code on m-file. but the generated file is shown as a shortcut.

i tried using this generated mat file as the input to the block in simulink but it shows an error:

"Time values in file 'Coeff_RFile.mat' must be monotonically non-decreasing"

I can't understand whtz happening...

Thank You
From: us on
"Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j94d$lqv$1(a)fred.mathworks.com>...
> "us " <us(a)neurol.unizh.ch> wrote in message <i0j76h$nc1$1(a)fred.mathworks.com>...
> > "Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j6r9$266$1(a)fred.mathworks.com>...
> > > Hi us,
> > >
> > > Thankx for the response. I would like to know if this code for conversion should be written in a .m file or on command prompt of MATLAB.
> > >
> > > Thank you
> >
> > plase, do NOT top-post...
> >
> > then, it's a matter of taste...
> > eg,
> > - if you have one file only -> command prompt...
> > - if you have >one file -> M-file...
> >
> > us
>
> Hi us,
>
> I tried running the code on m-file. but the generated file is shown as a shortcut.
>
> i tried using this generated mat file as the input to the block in simulink but it shows an error:
>
> "Time values in file 'Coeff_RFile.mat' must be monotonically non-decreasing"
>
> I can't understand whtz happening...
>
> Thank You

....nor can most CSSMers...
- how did you ...generate... the M-file(?)...
- why would it show up as a ...shortcut... (?)...
- then: the error message itself reveals a completely different problem...

us
From: Heman on
"us " <us(a)neurol.unizh.ch> wrote in message <i0ja2e$lic$1(a)fred.mathworks.com>...
> "Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j94d$lqv$1(a)fred.mathworks.com>...
> > "us " <us(a)neurol.unizh.ch> wrote in message <i0j76h$nc1$1(a)fred.mathworks.com>...
> > > "Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j6r9$266$1(a)fred.mathworks.com>...
> > > > Hi us,
> > > >
> > > > Thankx for the response. I would like to know if this code for conversion should be written in a .m file or on command prompt of MATLAB.
> > > >
> > > > Thank you
> > >
> > > plase, do NOT top-post...
> > >
> > > then, it's a matter of taste...
> > > eg,
> > > - if you have one file only -> command prompt...
> > > - if you have >one file -> M-file...
> > >
> > > us
> >
> > Hi us,
> >
> > I tried running the code on m-file. but the generated file is shown as a shortcut.
> >
> > i tried using this generated mat file as the input to the block in simulink but it shows an error:
> >
> > "Time values in file 'Coeff_RFile.mat' must be monotonically non-decreasing"
> >
> > I can't understand whtz happening...
> >
> > Thank You
>
> ...nor can most CSSMers...
> - how did you ...generate... the M-file(?)...
> - why would it show up as a ...shortcut... (?)...
> - then: the error message itself reveals a completely different problem...
>
> us

Hi us,

I just opened a new M-file and wrote the code which you gave.

and can you tell wht this error speaks about?

Thank you
From: Heman on
"us " <us(a)neurol.unizh.ch> wrote in message <i0ja2e$lic$1(a)fred.mathworks.com>...
> "Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j94d$lqv$1(a)fred.mathworks.com>...
> > "us " <us(a)neurol.unizh.ch> wrote in message <i0j76h$nc1$1(a)fred.mathworks.com>...
> > > "Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j6r9$266$1(a)fred.mathworks.com>...
> > > > Hi us,
> > > >
> > > > Thankx for the response. I would like to know if this code for conversion should be written in a .m file or on command prompt of MATLAB.
> > > >
> > > > Thank you
> > >
> > > plase, do NOT top-post...
> > >
> > > then, it's a matter of taste...
> > > eg,
> > > - if you have one file only -> command prompt...
> > > - if you have >one file -> M-file...
> > >
> > > us
> >
> > Hi us,
> >
> > I tried running the code on m-file. but the generated file is shown as a shortcut.
> >
> > i tried using this generated mat file as the input to the block in simulink but it shows an error:
> >
> > "Time values in file 'Coeff_RFile.mat' must be monotonically non-decreasing"
> >
> > I can't understand whtz happening...
> >
> > Thank You
>
> ...nor can most CSSMers...
> - how did you ...generate... the M-file(?)...
> - why would it show up as a ...shortcut... (?)...
> - then: the error message itself reveals a completely different problem...
>
> us

Hi us,

I just opened a new M-file and wrote the code you gave.

can you suggest about the error i am getting.

Thank you
From: us on
"Heman " <kokahemant(a)hotmail.com> wrote in message <i0jdiu$6fg$1(a)fred.mathworks.com>...
> "us " <us(a)neurol.unizh.ch> wrote in message <i0ja2e$lic$1(a)fred.mathworks.com>...
> > "Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j94d$lqv$1(a)fred.mathworks.com>...
> > > "us " <us(a)neurol.unizh.ch> wrote in message <i0j76h$nc1$1(a)fred.mathworks.com>...
> > > > "Heman Koka" <kokahemant(a)hotmail.com> wrote in message <i0j6r9$266$1(a)fred.mathworks.com>...
> > > > > Hi us,
> > > > >
> > > > > Thankx for the response. I would like to know if this code for conversion should be written in a .m file or on command prompt of MATLAB.
> > > > >
> > > > > Thank you
> > > >
> > > > plase, do NOT top-post...
> > > >
> > > > then, it's a matter of taste...
> > > > eg,
> > > > - if you have one file only -> command prompt...
> > > > - if you have >one file -> M-file...
> > > >
> > > > us
> > >
> > > Hi us,
> > >
> > > I tried running the code on m-file. but the generated file is shown as a shortcut.
> > >
> > > i tried using this generated mat file as the input to the block in simulink but it shows an error:
> > >
> > > "Time values in file 'Coeff_RFile.mat' must be monotonically non-decreasing"
> > >
> > > I can't understand whtz happening...
> > >
> > > Thank You
> >
> > ...nor can most CSSMers...
> > - how did you ...generate... the M-file(?)...
> > - why would it show up as a ...shortcut... (?)...
> > - then: the error message itself reveals a completely different problem...
> >
> > us
>
> Hi us,
>
> I just opened a new M-file and wrote the code you gave.
>
> can you suggest about the error i am getting.
>
> Thank you

obviously, your MAT file does not contain the correct data (format)...
do this in the command window:

d=load('name_of_your_matfile');
d
% show result...

us
First  |  Prev  | 
Pages: 1 2
Prev: GUI Table: Indicate what is selected.
Next: Quotations