Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
0 answers
62 views

Export Semidefinite Program To MOSEK readible file

Mathematica supports using the MOSEK solver for semidefinite programs now. I have some code that generates the conditions for some SDP problem, which I want to solve using MOSEK. Problem is that it ...
user1792605's user avatar
0 votes
2 answers
58 views

Looking for specific data in .txt file

I've the following code: Import["test.txt"] And it gives me: 1,10 2,20 3,30 4,40 5,50 6,60 7,70 8,80 9,90 10,100 11,110 12,120 13,130 14,140 15,...
Looper's user avatar
  • 287
0 votes
1 answer
36 views

Searching in a .txt file for a specific time

I've the following code: Import["hoi1.txt"] And it gives me: "(time,voltage,current,power) (1,10,5,10*5) (2,20,6,20*6) (3,30,7,30*7) (4,40,8,40*8) (...
Looper's user avatar
  • 287
0 votes
2 answers
2k views

Write list of numbers to a file

I have a list of numbers: e.g. list={1,2,3,4,5} To write the list to a file I use (here each integer number occupies 7 spaces): ...
mrz's user avatar
  • 11.8k
8 votes
1 answer
9k views

How to make new line in mathematica file output?

I know that new line is classically made by "\n". I want to make a string with lines of data and then export it into a file: ...
Aug's user avatar
  • 385
16 votes
1 answer
1k views

Automating SFTP upload within Mathematica?

I have MMA-generated html and would like to automate uploading to a named directory to a web host via SFTP or HTTP POST, ideally without creating local temp files. The closest question I could find on ...
alancalvitti's user avatar
  • 15.2k