concept-collection / numbl-project-example
Go to fileHistoryFork
.githubInitial commit: numbl project example for GitHub Pages
.gitignoreInitial commit: numbl project example for GitHub Pages
main.mInitial commit: numbl project example for GitHub Pages
numbl-project.jsonInitial commit: numbl project example for GitHub Pages
README.mdInitial commit: numbl project example for GitHub Pages
waves.mInitial commit: numbl project example for GitHub Pages

numbl project example#

A tiny example numbl project deployed to GitHub Pages. Everything runs in your browser — pick a script in the panel on the left and click Run. You can edit any file too; changes stay in memory for your session.

Files#

  • main.m — prints a couple of values and draws a plot.
  • waves.m — a small helper function used by main.m.
x = linspace(0, 4*pi, 400);
plot(x, exp(-x/10) .* sin(x));
title('damped sine');

How it's deployed#

On every push to main, the workflow in .github/workflows/deploy.yml bundles these files with the numbl browser IDE and publishes the result to GitHub Pages — no server, nothing to build by hand.

Edit numbl-project.json to change the title or which file opens first.