hsharrison / sysviewer

MATLAB GUI that plots dynamical system flow fields (and more) with sliders for adjusting parameters.
MIT License
1 stars 0 forks source link

Error using uipanel #1

Open wesleybowman opened 10 years ago

wesleybowman commented 10 years ago

I am getting this error when running your example

??? Error using ==> uipanel
Conversion to double from unknown is not possible.

Error in ==> sysViewer at 376
h.axPanel = uipanel( ...

Any idea? I let your program install all the dependencies, and then I installed chebfun2. This is the 1d example.

hsharrison commented 10 years ago

Hm.. what version of Matlab are you running?

The only thing I can think of is to change h.split to double(h.split) on line 377. This is necessary for axes (see lines 389, 399, 407, etc.), because of some bug having to do with the GUI Toolbox. Maybe now uipanels are like axes in some regard.

Give that a try. Not sure if it will work since I can't reproduce the bug on my setup.

wesleybowman commented 10 years ago

Running R11a. Changing h.split to double(h.split) made it work. Thanks!

hsharrison commented 10 years ago

Great. I'm leaving this open as a reminder to fix it.

wesleybowman commented 10 years ago

And just to let you know, this is amazing. Just finished a course in nonlinear dynamics and chaos, and I wish I had this for the entire term. Amazing work. I am interested in transforming all of this over to python, so it wouldn't require MatLab to work.

hsharrison commented 10 years ago

Thanks for say so! I would like to see this in Python as well, I've switched from Matlab and only use it for a couple legacy projects. It would be nice to make it browser-based as well. Let me know if you get started of course.