Hi Claus and Adrien,

 

Thanks for you feedback and workaround.

Not the cleanest way of doing this but it works.

Below Claus code with small syntax modification to handle my Nx1 text string
and also cleaning the temporary disk file:

 

fd = mopen("text_out.txt",'wt');

mfprintf(fd,'%s\n',my_Nx1_string);

mclose(fd);

if (isdef('editor') | (funptr('editor')<>0)) then

    editor("text_out.txt");

    mdelete("text_out.txt");

end

 

 

PS:

In my case editor() opens Scipad 8.72.

 

Regards

Rafael G.

 

From: users [mailto:[email protected]] On Behalf Of Claus
Futtrup
Sent: Monday, May 12, 2014 7:29 PM
To: [email protected]
Subject: Re: [Scilab-users] Displaying large amount of text outside the
Scilab console

 

Hi Rafael

Yes it is possible to save the string to a file, then load it into the
Scinotes editor. I've done this for years.

fd = mopen(filename1,'wt')
mfprintf(fd, yourstring)
mfprintf(fd,"\n");
mclose(fd);
if (isdef('editor') | (funptr('editor')<>0)) then
  editor(filename1)
end


/Claus

On 12-May-14 19:30, Rafael Guerra wrote:

Hello,
 
Does anyone know how to properly display a large amount of plain text stored
in a string variable of size (N,1), i.e. with N text lines of variable
length, outside the Scilab console window?
 
For instance, is it possible to issue Scilab command to display the text
variable in one of Scinotes or Scipad tabs?
 
Thanks and regards,
Rafael G.
 
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
.
 

 

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to