Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
Export data to .WRL format (VRML)

Subject: Export data to .WRL format (VRML)

From: Liana

Date: 7 May, 2011 04:49:04

Message: 1 of 1


I'm need to export axes data from MATLAB GUI to .WRL format.

% Code snippet
hold on
hold off

Then I need to open 'output.wrl' in order to see the results:
>> myworld = vrworld('output.wrl')

myworld =

vrworld object: 1-by-1


>> open(myworld)
??? Error using ==> vrsfunc
Error reading VRML file: C:/Users/Liana/Documents/MATLAB/output.wrl, line 625: Unknown node
type "NaN"

Error in ==> at 16
  vrsfunc('VRT3SceneOpen', w(i).id);

Also, if I double click on 'output.wrl', then it is opened in the Editor instead of VRML viewer. So, why did I get the above error message?

Thanks a lot!

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us