I keep getting undefined function or method 'fn2fm' for input arguments of type 'struct'
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Lee McMahon
 el 23 de Jun. de 2015
  
    
    
    
    
    Comentada: Lee McMahon
 el 24 de Jun. de 2015
            For the past few weeks I have been using Matlab to run a program called BWTT that is used for tracking snout and whisker movement in animals. The program had been working fine until today when I tried to use the program and got the error undefined function or method 'fn2fm' for input arguments of type 'struct.'
I'm using the 2009b version of Matlab, and had to separately download both mmread and Curve Fitting toolbox as well as the BWTT program (found at this link: http://sourceforge.net/projects/bwtt/); I'm also using Windows 64 bit. I'm fairly certain that I have added the correct pathway because it has been working for the past few weeks; for the sake of saving time, I created an m-file that I run to set the pathway and start the program, though I haven't changed that at all and don't know if that's the issue. The program still runs and even allows me to upload the video that I want to track, but when I try to track the snout movement the error pops up. I can still see the tracking on the other videos that I have worked on, but can't seem to do any new tracking. The only thing that has been changed at all was that yesterday I downloaded Matlab on another computer at my office.
Does anyone know why this is happening and/or what I can do to fix it? Any help is greatly appreciated!
0 comentarios
Respuesta aceptada
  Steven Lord
    
      
 el 24 de Jun. de 2015
        In release R2009b, the FN2FM function was part of Spline Toolbox, not Curve Fitting Toolbox. Spline Toolbox was merged into Curve Fitting Toolbox in release R2010b.
Más respuestas (1)
  Mukul Rao
    
 el 24 de Jun. de 2015
        There is a chance that your toolbox cache has become corrupted. You can set this right as follows:
>> restoredefaultpath
>> rehash toolboxcache
>> savepath folderName/pathdef.m
"savepath folderName/pathdef.m" saves the current search path to pathdef.m located in the folder specified by folderName.
Ver también
Categorías
				Más información sobre Spline Postprocessing en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


