When running MATLAB R2014a on MacOS sierra my compiler broke:
mex -setup
Returned this error
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015a/maci64.html
| { | |
| "cells": [ | |
| { | |
| "cell_type": "markdown", | |
| "id": "2a9d54a3", | |
| "metadata": {}, | |
| "source": [ | |
| "# Graph traversal, cellular automata, and percolation \n", | |
| "\n", | |
| "Imports: Make sure these are installed in your conda env, and that the conda env is active in your notebook\n", |
| { | |
| "cells": [ | |
| { | |
| "cell_type": "markdown", | |
| "id": "90ecb153", | |
| "metadata": {}, | |
| "source": [ | |
| "# Partial differential equations\n", | |
| "\n", | |
| "Requirements\n", |
| import glob | |
| all_names = glob.glob('*') | |
| all_vals1 = [thing.split('$')[-1] for thing in all_names] | |
| all_vals2 = [float(thing[:-4]) for thing in all_vals1] |
When running MATLAB R2014a on MacOS sierra my compiler broke:
mex -setup
Returned this error
Error using mex
No supported compiler or SDK was found. For options, visit
http://www.mathworks.com/support/compilers/R2015a/maci64.html
| import PyPDF2 as pdf | |
| def fig_annotate(filename, params): | |
| ''' | |
| Given a figure and a dictionary of values (like simulation parameter values) | |
| associated with that figure, write in the "Keyword" metadata of the PDF the parameter list. | |
| When conducting numerical simulations involving large numbers of parameters, it | |
| can be difficult and confusing to keep track of which parameters are associated with which | |
| figures. This function provides an additional check by allowing paramter values to be written directly |