jlblancoc / mechplot

Library to render structures and mechanisms (in MATLAB)
GNU General Public License v3.0
8 stars 3 forks source link

matlab verion to use mechplot #1

Open mikelix opened 9 years ago

mikelix commented 9 years ago

What is the minmum version of matlab to use mechplot? I used Matlab Ver 7 R14. But there is some problem. I can not run the demo.

jlblancoc commented 9 years ago

The toolkit was tested with Matlab 2013, but it should work with older ones as far as MATLAB classes are supported. What kind of error do you have in R14?

mikelix commented 9 years ago

Finally, I can run mechplot in Matlab 2014 in my laptop (Windows 7). The error I got in Matlab 7.0 R14 in my desktop computer (Windows 7):

??? Error: File: d:\matlab\mpMechanism.m Line: 11 Column: 9 Function definitions are not permitted at the prompt or in scripts. Error in ==> mp_plot_4bars at 31 s=mpMechanism(); % Create new, empty mechanism object