티스토리 뷰

SMath

Reading data from a file

skyground21 2023. 5. 30. 08:48

Introduction to the use of SMath Studio
Prepared by Gilberto E. Urroz, May 2010

p.65~
 
reading data from a file that was Saved in C:\Users\User_name\AppData\Roaming\SMath\user

 
If you attempt to read from a non-existing file you'll get an error message

Introduction to the use of SMath Studio_P65.sm
0.05MB



https://youtu.be/AyoDsEn0_jY

 

(1) Use only lowercase letters in the name of the file. I couldn't get SMath Studio to recognize filenames that include uppercase letters. 
(2) Make sure the filename to be read has no extension, therefore, the file should be named, in this case, mymatrixfile, and not mymatrixfile.txt or mymatrixfile.dat, etc. 
(3) Do not try to simply use the same .csv file without an extension as your input file to SMath Studio. It won't work. You need to create a new file.

(1) 파일 이름에 소문자만 사용하세요. 대문자가 포함된 파일 이름은 SMath Studio에서 인식할 수 없습니다. 
(2) 읽을 파일 이름에 확장자가 없는지 확인하십시오. 따라서 파일 이름은 mymatrixfile.txt 또는 mymatrixfile.dat 등이 아닌 mymatrixfile(이 경우)이어야 합니다. 
(3) SMath Studio에 입력하는 파일과 확장자가 없는 동일한 .csv 파일을 단순히 사용하지 마십시오. 작동하지 않습니다. 새 파일을 생성해야 합니다.

 

2023.03.08 - [SMath] - 엑셀데이터를 SMath로 불러오는 방법

2023.03.09 - [SMath] - How to export Smath studio to XLSX

반응형
LIST

'SMath' 카테고리의 다른 글

multiple derivatives  (0) 2023.06.02
Writing and reading symbolic expressions  (0) 2023.05.31
Writing data to a file  (0) 2023.05.26
프로그래밍 오류  (0) 2023.05.26
프로그래밍 단계  (0) 2023.05.26