Jump to content
Ariane Rebelato

SolidThinking Compose read files

Recommended Posts



I searched for a topic Compose but I didn't find, so I'm asking here.
I would like to know how to read csv files in Compose, because I tried with the same command of MatLab and it did not work.
I would also like to know if it have some function to do heaviside.



Share this post

Link to post
Share on other sites

The following code gives a description of how to read data line by line in sT Compose.


file = 'small_indian_train_data.csv';
fid = fopen(file,'rt');   
counter = 0;
% read file line by line
while ~feof(fid)
counter = counter + 1;
line = fgetl(fid);
sprintf('line %d in %s: %s',counter,file,line)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...