Trying to do a simple read from file (or workspace) and input this to a c_scope so I can plot the file contents. Yes I can plot it in SciLab but the point is to fancy with signal processing once I know I can get a stream going based on file input. The xcos project is simple with just a R_File or FROMWSB going into the C_Scope and a clock going into the C_Scope. The problem is matching up the data type with C_Scope. The original file is simply a single line per value, the values being integers (ADC Samples in signed integer format). chatgpt is not much help. I also tried setting up a file with time values in the first column and ADC values in the second column but that does not work either. Also tried reading the two different fields into scilab with fscanfMat and then using FROMWSB with no success. I would not have thought this would be this complicated. Did this several years ago but don’t have those file around anymore and cannot recreate what I did. Something must have changed but I can’t figure out what.
Got it to work. Wow the rfile_f block looks to be much more picky now. The values have to be have to be delimited by three spaces between columns and values only work if they are scientific notation?