I ran on a 3-D figure (created with patches) and got the following error:
??? SWITCH expression must be a scalar or string constant.
Error in ==> addmesh at 142
Error in ==> figure2xhtml>figurex3d at 196
Error in ==> figure2xhtml at 164
The examples provided with the function ran well without errors.
Very good work....I have been searching for saving a MATLAB figure interactively into html. Searched and found the MATLAB builder ja which is bit complicated. My further search landed me here. Very good work.
But I have a problem in this. I ran these files and saved html version in test folder. I tried to open it with chrome and mozilla which are leatest, I get a blank screen showing X3DOM downloading the secene, but never I am getting the interactive image. Flash player is installed.
Why is it? Any solution?