comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to print the mpfitfun output to a file?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: How to print the mpfitfun output to a file? [message #93407 is a reply to message #93406] Thu, 07 July 2016 03:45 Go to previous messageGo to previous message
Richard Morton is currently offline  Richard Morton
Messages: 7
Registered: April 2016
Junior Member
On Thursday, July 7, 2016 at 11:13:19 AM UTC+1, Meegle_Jade wrote:
> I gave the code like the following
> res = mpfitfun('model',x,y,err,p,PARINFO=par)
> print,res
> fname='/home/meegle_jade/data1.dat'
> OPENW,1,fname
> PRINTF,res
> CLOSE,1
>
> But it's showing error. Infact I wanted to write the output 'res' to data1.dat.Can you please help me out?

You need to specify the logical unit your writing to, e.g., PRINTF,1,res
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Extracting a sub-cube from a cube
Next Topic: Strange behaviour of Uniq static method

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:24:16 PDT 2025

Total time taken to generate the page: 0.00366 seconds