Skip to content

Error using the 'precision' option - Unrecognized function or variable 'vin': Error in vtkwrite (line 75) #6

Open
@Jsalas424

Description

@Jsalas424

Hello,

This is Matlab R2020b and I'm running into the following issue when trying to change the precision of the VTK output.

>> vtkwrite('mesh.vtk','polydata','triangle',x,y,z,userdata.surface.triRep.Triangulation, 'precision', 5)
Unrecognized function or variable 'vin'.

Error in vtkwrite (line 75)
    precision = num2str(varargin{find(strcmpi(vin, 'PRECISION'))+1});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions