-
Notifications
You must be signed in to change notification settings - Fork 96
Description
I am using python 3.6.0 and the latest version of pymatbrige with Matlab R2016b on MacOS 10.12.3. I can communicate with Matlab fine and execute commands, but when I call a plotting script I get the following output:
{'content': {'stdout': 'Unable to create output using specified size and resolution. Specify a smaller value for the PaperPosition property of the figure or specify a smaller resolution value.', 'datadir': '/private/tmp/MatlabData/'}, 'result': [], 'stack': [{'file': '/Applications/MATLAB_R2016b.app/toolbox/matlab/graphics/print.m', 'name': 'print', 'line': 102}, {'file': '/Applications/MATLAB_R2016b.app/toolbox/matlab/general/saveas.m', 'name': 'saveas', 'line': 168}, {'file': '/usr/local/lib/python3.6/site-packages/pymatbridge-0.6.dev0-py3.6.egg/pymatbridge/matlab/util/make_figs.m', 'name': 'make_figs', 'line': 14}], 'success': False}
Matlab is running with -nodesktop option. I tried to run it with the desktop by using:
from pymatbridge import Matlab
mlab = Matlab(startup_options=' -nosplash')
still the Matlab desktop didn't appear.