Print command erroring with 'Undefined function or method 'findprop' for input arguments of type 'struct'.'

2 visualizaciones (últimos 30 días)
Recently the print function in matlab has stopped working on one computer of mine, specifically for print('-dmeta'). I use this function extensively for putting figures into powerpoints - but it fails regardless of how I call it. The same code works on other computers. I also can't save figures, weither from the GUI or using matlab functions as it throws the same error.
If I create a figure and call print(gcf, '-dmeta'), it throws the error 'Print command erroring with 'Undefined function or method 'findprop' for input arguments of type 'struct'.''
The stack that the error is thrown at is
In isprop at 40
In C:\MATLAB\R2011a\toolbox\matlab\graphics\private\postProcessPrinttables.p>postProcessPrinttables at 12
In printtables at 17
In graphics\private\inputcheck at 15
In print at 163
Anybody have ideas for settings I could have changed accidentally, or files that could have been corrupted? I've reinstalled Matlab and the error doesn't go away.

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 7 de Mayo de 2012
what does:
which -all findprop
return?

Más respuestas (2)

Matt
Matt el 7 de Mayo de 2012
Sean - ended up reinstalling again before I saw your suggestion - this time in a totally new folder. It seems to have fixed the problem, though sadly not after a detailed understanding of it.
Thanks!
Matt

Matt
Matt el 17 de Mayo de 2012
My matlab installation corrupted again. . .
Here's the return on
which -all findprop
findprop is a built-in method % meta.PackageList method
findprop is a built-in method % Shadowed handle method
findprop is a built-in method % Shadowed meta.ClassList method
findprop is a built-in method % Shadowed meta.FunctionList method
findprop is a built-in method % Shadowed meta.TypeList method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.Echo method
findprop is a built-in method % Shadowed hg.figure method
findprop is a built-in method % Shadowed hg.GObject method
findprop is a built-in method % Shadowed schema.class method
findprop is a built-in method % Shadowed handle.handle method
findprop is a built-in method % Shadowed COM.PowerPoint_Application method
findprop is a built-in method % Shadowed handle.subreference__ method
findprop is a built-in method % Shadowed schema.prop method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library.Presentations method
findprop is a built-in method % Shadowed schema.method method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library._Presentation method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library.Slides method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library._Slide method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library.Shapes method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library.Shape method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library.TextFrame method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library.TextRange method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.FigurePeer method
findprop is a built-in method % Shadowed schema.package method
findprop is a built-in method % Shadowed hg.axes method
findprop is a built-in method % Shadowed handle.listener method
findprop is a built-in method % Shadowed graph2d.lineseries method
findprop is a built-in method % Shadowed hg.line method
findprop is a built-in method % Shadowed handle.EventData method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.ToolbarPeer method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.ToolPushButtonPeer method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.ToolToggleButtonPeer method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.ToggleSplitButtonPeer method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.MenuPeer method
findprop is a built-in method % Shadowed graphics.linkprop method
findprop is a built-in method % Shadowed function_handle_workspace method
findprop is a built-in method % Shadowed handle.PropertySetEventData method
findprop is a built-in method % Shadowed handle.PropertyEventData method
findprop is a built-in method % Shadowed hg.root method
findprop is a built-in method % Shadowed hg.uimenu method
findprop is a built-in method % Shadowed hg.uitoolbar method
findprop is a built-in method % Shadowed hg.text method
findprop is a built-in method % Shadowed hg.uipushtool method
findprop is a built-in method % Shadowed hg.uitoggletool method
findprop is a built-in method % Shadowed hg.uitogglesplittool method
findprop is a built-in method % Shadowed hg.image method
findprop is a built-in method % Shadowed hg.uicontrol method
findprop is a built-in method % Shadowed hg.uitable method
findprop is a built-in method % Shadowed hg.hgjavacomponent method
findprop is a built-in method % Shadowed hg.uicontainer method
findprop is a built-in method % Shadowed Interface.Microsoft_PowerPoint_12.0_Object_Library.ShapeRange method
findprop is a built-in method % Shadowed COM.Excel_Application method
findprop is a built-in method % Shadowed Interface.Microsoft_Excel_12.0_Object_Library.Workbooks method
findprop is a built-in method % Shadowed Interface.Microsoft_Excel_12.0_Object_Library._Workbook method
findprop is a built-in method % Shadowed Interface.Microsoft_Excel_12.0_Object_Library.Sheets method
findprop is a built-in method % Shadowed Interface.Microsoft_Excel_12.0_Object_Library._Worksheet method
findprop is a built-in method % Shadowed Interface.Microsoft_Excel_12.0_Object_Library.Range method
findprop is a built-in method % Shadowed schema.EnumType method
findprop is a built-in method % Shadowed schema.type method
findprop is a built-in method % Shadowed schema.UserType method
findprop is a built-in method % Shadowed dspopts.findpeaks method
findprop is a built-in method % Shadowed scribe.colorbar method
findprop is a built-in method % Shadowed scribe.legend method
findprop is a built-in method % Shadowed schema.event method
findprop is a built-in method % Shadowed hg.Annotation method
findprop is a built-in method % Shadowed hg.LegendEntry method
findprop is a built-in method % Shadowed graphics.panbehavior method
findprop is a built-in method % Shadowed graphics.zoombehavior method
findprop is a built-in method % Shadowed graphics.rotate3dbehavior method
findprop is a built-in method % Shadowed graphics.datacursorbehavior method
findprop is a built-in method % Shadowed graphics.ploteditbehavior method
findprop is a built-in method % Shadowed hg.uicontextmenu method
findprop is a built-in method % Shadowed hg.patch method
findprop is a built-in method % Shadowed scribe.legendinfo method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.ContextMenuPeer method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.LabelPeer method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.PushButtonPeer method
findprop is a built-in method % Shadowed javahandle_withcallbacks.com.mathworks.mwswing.MJFileChooserPerPlatform method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.EditTextPeer method
findprop is a built-in method % Shadowed hg.uipanel method
findprop is a built-in method % Shadowed uitools.uimodemanager method
findprop is a built-in method % Shadowed uitools.uimode method
findprop is a built-in method % Shadowed javahandle.com.mathworks.hg.peer.FigureAxisComponentProxy$_AxisCanvas method
findprop is a built-in method % Shadowed WindowButtonMotionEventData method
findprop is a built-in method % Shadowed graphics.datadescriptorbehavior method
findprop is a built-in method % Shadowed graphics.plotmanager method
findprop is a built-in method % Shadowed uitools.FigureToolManager method
findprop is a built-in method % Shadowed uiundo.CommandManager method
findprop is a built-in method % Shadowed uiundo.FunctionCommand method
findprop is a built-in method % Shadowed uiundo.AbstractCommand method
findprop is a built-in method % Shadowed handle.Operation method
findprop is a built-in method % Shadowed graphics.plotevent method
findprop is a built-in method % Shadowed Simulink.Root method
findprop is a built-in method % Shadowed Simulink.Object method
findprop is a built-in method % Shadowed DAStudio.Object method
findprop is a built-in method % Shadowed Simulink.ConfigSet method
findprop is a built-in method % Shadowed Simulink.ConfigSetRoot method
findprop is a built-in method % Shadowed Simulink.BaseConfig method
findprop is a built-in method % Shadowed Simulink.BaseTemplate method
findprop is a built-in method % Shadowed Simulink.BaseObject method
findprop is a built-in method % Shadowed Simulink.Preferences method
findprop is a built-in method % Shadowed schema.signature method
findprop is a built-in method % Shadowed Simulink.EditorPrefs method
findprop is a built-in method % Shadowed Simulink.FontPrefs method
findprop is a built-in method % Shadowed Simulink.SaveVarsPrefs method
findprop is a built-in method % Shadowed Simulink.SolverCC method
findprop is a built-in method % Shadowed Simulink.ConfigComponent method
findprop is a built-in method % Shadowed Simulink.DataIOCC method
findprop is a built-in method % Shadowed Simulink.OptimizationCC method
findprop is a built-in method % Shadowed Simulink.DebuggingCC method
findprop is a built-in method % Shadowed Simulink.HardwareCC method
findprop is a built-in method % Shadowed Simulink.ModelReferenceCC method
findprop is a built-in method % Shadowed Simulink.SFSimCC method
findprop is a built-in method % Shadowed Simulink.RTWCC method
findprop is a built-in method % Shadowed DAStudio.CustomizationManager method
findprop is a built-in method % Shadowed SLPerfTools.Tracer method
findprop is a built-in method % Shadowed ModelAdvisor.Root method
findprop is a built-in method % Shadowed Simulink.ConfigSetRef method
findprop is a built-in method % Shadowed hdlcoderui.hdlcc method
findprop is a built-in method % Shadowed Simulink.CustomCC method
findprop is a built-in method % Shadowed hdlcoderprops.CLI method
findprop is a built-in method % Shadowed hdlcoderprops.AbstractProp method
findprop is a built-in method % Shadowed Simulink.ConfigMComponent method
findprop is a built-in method % Shadowed hdlcoderui.hdlglblsettings method
findprop is a built-in method % Shadowed hdlcoderui.abstracthdlglblsettings method
findprop is a built-in method % Shadowed hdlcoderui.abstracthdlcomps method
findprop is a built-in method % Shadowed hdlcoderui.hdltb method
findprop is a built-in method % Shadowed hdlcoderui.abstracthdltb method
findprop is a built-in method % Shadowed hdlcoderui.hdledas method
findprop is a built-in method % Shadowed hdlcoderui.abstracthdledas method
findprop is a built-in method % Shadowed linkfoundation.pjtgenerator.AdaptorRegistry method
findprop is a built-in method % Shadowed RTW.TargetRegistry method
findprop is a built-in method % Shadowed Simulink.ExtModeTransports method
findprop is a built-in method % Shadowed BusEditor.customizer method
findprop is a built-in method % Shadowed Simulink.LookupTableEditorCustomizer method
findprop is a built-in method % Shadowed rtw.codegenObjectives.ObjectiveCustomizer method
findprop is a built-in method % Shadowed LibraryBrowser.StandaloneBrowser method
findprop is a built-in method % Shadowed LBCustomizer method
findprop is a built-in method % Shadowed mpt.SLDataObjectCustomizer method
findprop is a built-in method % Shadowed Simulink.DataTypePrmWidget method
findprop is a built-in method % Shadowed mpt.RTWBuildCustomizer method
findprop is a built-in method % Shadowed mpt.MiscCustomizer method
findprop is a built-in method % Shadowed Repository.RepositoryReport method
findprop is a built-in method % Shadowed CosLibraryBrowser.FavoriteBlocksManager method
findprop is a built-in method % Shadowed DAStudio.IconManager method
findprop is a built-in method % Shadowed CosLibraryBrowser.MenuCreationHelper method
findprop is a built-in method % Shadowed CosLibraryBrowser.MenuActionDispatcher method
findprop is a built-in method % Shadowed DAStudio.ContainerSchema method
findprop is a built-in method % Shadowed DAStudio.ToolSchema method
findprop is a built-in method % Shadowed DAStudio.Hash method
findprop is a built-in method % Shadowed containers.Map method
findprop is a built-in method % Shadowed meta.class method
findprop is a built-in method % Shadowed meta.MetaData method
findprop is a built-in method % Shadowed meta.method method
C:\MATLAB\New_R2011a\toolbox\matlab\lang\@handle\findprop.m % Shadowed handle method

Categorías

Más información sobre Create System Objects 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!

Translated by