- Screen Shot 2022-07-26 at 3.54.54 PM.png (474 KiB) Not viewed yet
- Subject Matter Expert
- Posts: 7
- Joined: Fri Feb 05, 2021 10:02 am America/New_York
The readsb.m code accepts a filename as its only input and it allows the user to include several arguments if desired. However, the code requires an output location. Please read carefully the instructions in the code (first 200 lines) to see all its functionality. Based on your screen shot, I see two major errors.
First, you should not put your filename within the readsb.m code. If this is your first time running it, I would recommend that you create a folder with your code and the files you need to read. Make sure you set your path in matlab to that folder. You can do that in the command line or go to the to bar and select the folder. On your command window (or your own code), you will type:
[data, header] =readsb('7da2190bbf_NSF_Rapid_HPLC_2018_AC.sb')
The second issue is that your filename is possibly incorrect. I could not find a file in SeaBASS called da2190bbf_NSF_Rapid_HPLC_2018_AC.sb.
Please feel free to let me know if you have any other questions.
- Screen Shot 2022-07-28 at 2.42.24 PM.png (206.65 KiB) Not viewed yet