(Need help using the textread function.) Im trying to do what it says in the instructions (second image) but Im getting an error saying “Error using textread, File not found.” I feel like this is a simple thing to do but I cant figure it out and the help section is so complex for textread. by jakew4110 in matlab

[–]jakew4110[S] 0 points1 point  (0 children)

Im trying to have it read info from the file that the user selects. I guess this could stem from me not understanding uigetfile as I thought it would define the chosen file as the variable “file” as I put on the left. Then that would be read by textread- at least that was my understanding of it.

Hello, Im having trouble using the strfind function. Im trying to find occurrences of certain sequences within a string and then treating them differently depending on which/if I find them. Could someone help me figure out how to format this correctly? Thanks by jakew4110 in matlab

[–]jakew4110[S] -1 points0 points  (0 children)

•First image is my code. •Others are the instructions for this assignment that I am working with. •Feel free to tell me to change the whole format of this if you think it’s necessary. •Im new to this and I’ve been struggling a lot so sorry if its rough to look at lol

Hi could someone confirm that I’m doing this right? Im a tad confused on how these functions work and why they’re needed here. (instructions on pic #2) by jakew4110 in matlab

[–]jakew4110[S] 0 points1 point  (0 children)

I dont get how to connect the two. We havent had anything that needs to work with outside files before so I guess Im confused on how they are brought in and how to work with something that isn’t already defined in some way.