Using xlsread to put info into a cell array
    2 views (last 30 days)
  
       Show older comments
    
    Ellen De Jonghe
 on 13 Jan 2020
  
    
    
    
    
    Answered: Star Strider
      
      
 on 13 Jan 2020
            Hye!
I have to use xlsread to put information from an excell file into a cell array.
My teacher has given the following instruction: 
[~,~,tabel] = xlsread('zurenEnBasen.xlsx')
But I don't understand what the [~,~,tabel] thing does... 
Anyone who knows? 
0 Comments
Accepted Answer
  Star Strider
      
      
 on 13 Jan 2020
        ‘But I don't understand what the [~,~,tabel] thing does... ’  
The xlsread function has three possible outputs.  The tilde (~) signs here tell MATLAB to ignore the first two of those outputs.  See the documentation section on Ignore Function Outputs for an extended explanation.  
0 Comments
More Answers (0)
See Also
Categories
				Find more on Loops and Conditional Statements in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
