Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline jaivishnu  
#1 Posted : 22 February 2020 16:23:14(UTC)
jaivishnu

Rank: Newbie

Groups: Registered
Joined: 20/02/2020(UTC)
Posts: 6
India

Hi
I wanted to know if it is possible to create tab delimited data file (.txt) using Smath. Txt Data file should contain different columns of a computed matrix in Smath

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline PompelmoTell  
#2 Posted : 22 February 2020 18:15:25(UTC)
PompelmoTell


Rank: Advanced Member

Groups: Registered
Joined: 23/12/2011(UTC)
Posts: 319
Man
Italy
Location: italy

Was thanked: 109 time(s) in 93 post(s)
try "Data exchange" plugin

sergio
Offline Jean Giraud  
#3 Posted : 23 February 2020 17:55:44(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
More generally from long times ago, universal data exchange is *.dat
Offline Jean Giraud  
#4 Posted : 25 February 2020 03:02:38(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: jaivishnu Go to Quoted Post
I wanted to know if it is possible to create tab delimited data file (.txt) using Smath. Txt Data file should contain different columns of a computed matrix in Smath

1. Copy the matrix data
2. Paste in NotePad

3. Select all in NotePad, copy
3. Paste back in Smath New:= paste

What is Tab Delimited data ?
Offline Jean Giraud  
#5 Posted : 25 February 2020 16:26:17(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
mat(1,2,3,2,4,6,3,6,9,3,3)

copy, paste in Smath assigned argument [mymatrix]
mymatrix:=

Under the hood, spooling to file is
mat(1,2,3,2,4,6,3,6,9,3,3)
Offline mkraska  
#6 Posted : 25 February 2020 18:12:45(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
You can use ExportData.CSV() from the DataExchange plugin. It doesn't generate tab-delimited files. If really needed, you can replace the commas by tabs using some script or filter command.

exportData.CSV.sm (24kb) downloaded 17 time(s).
exportData1.png
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.