Unexpected MATLAB operator. how declare correctly?
    6 views (last 30 days)
  
       Show older comments
    
    Alma Martinez
 on 1 Jun 2018
  
    
    
    
    
    Commented: Walter Roberson
      
      
 on 6 Jun 2018
            [status]= abmsdk('SetDestinationFile', C:\ABM\B-Alert\Data\1830);
                                          |
Error: Unexpected MATLAB operator.
0 Comments
Accepted Answer
  Walter Roberson
      
      
 on 1 Jun 2018
        [status]= abmsdk('1830_b30_112311_122300.def', 'C:\ABM\B-Alert\Data\1830_1');
4 Comments
  Walter Roberson
      
      
 on 4 Jun 2018
				Try
status = abmsdk('SetDestinationFile', 'C:\ABM\B-Alert\Data\1830_1\1830_b30_112311_122300.def')
But if that is an existing file, make a back-up copy of it first, in case it overwrites the file.
More Answers (1)
  Alma Martinez
 on 6 Jun 2018
        
      Edited: Walter Roberson
      
      
 on 6 Jun 2018
  
      
      1 Comment
  Walter Roberson
      
      
 on 6 Jun 2018
				 [status]= abmsdk('SetDestinationFile', 'C:\ABM\B-Alert\Data\1830');
Filenames should always be placed in quotes.
See Also
Categories
				Find more on File Operations 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!
