Help with echo command

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Help with echo command

Rik-4
Could someone run the attached tst_ps4.m script in Matlab and paste back
the results?  The question at hand is whether Matlab uses a prefix for each
line that it echoes before it executes it.

Thanks,
Rik

tst_ps4.m (30 bytes) Download Attachment
Mae
Reply | Threaded
Open this post in threaded view
|

Re: Help with echo command

Mae

> On  4, 2019, at 18:43, Rik <[hidden email]> wrote:
>
> Could someone run the attached tst_ps4.m script in Matlab and paste back
> the results?  The question at hand is whether Matlab uses a prefix for each
> line that it echoes before it executes it.
>
> Thanks,
> Rik
> <tst_ps4.m>

R2015a (8.5.0.197613) 64-bit (glnxa64)

>> tst_ps4
a = 1

a =

     1

b = 2

b =

     2

c = 3

c =

     3

>>


Reply | Threaded
Open this post in threaded view
|

Re: Help with echo command

fmlburgers
In reply to this post by Rik-4
Op 5-4-2019 om 00:43 schreef Rik:

> Could someone run the attached tst_ps4.m script in Matlab and paste back
> the results?  The question at hand is whether Matlab uses a prefix for each
> line that it echoes before it executes it.
>
> Thanks,
> Rik
>

same for a more recent matlab version:

'9.5.0.1049112 (R2018b) Update 3'

 >> tst_ps4
a = 1

a =

      1

b = 2

b =

      2

c = 3

c =

      3

 >>