I tried: % creates a function called 'measuredata' function measuredata(nameoffile) load(nameoffile) end. but if I type in the command window, and want to load e.g. measurement102.mat: >> measuredata('measurement102') I get no warning but nothing is being loaded to the workspace.
The ISNUMBER function is a quick, easy way to check if a cell contains a number. Our example used the IF function to illustrate how ISNUMBER can be used. If you haven't used IF in a formula before, you can read our lesson on the IF function here.
Aug 6, 2009. How do i write an If function where if a cell has a certain text in it, it would return a value to onather cell. For instance: If cell B1 has red in it the cell B4 must be 6. If cell B1 has 'blue in it, then cell B4 must be 7.