Live Script to Mobile-Phone App Conversion with AI

Demonstration and Skill for MATLAB to iOS app conversion with AI
4 Downloads
Updated 17 Jan 2026

View License

This package is a resource concerning AI creation of an HTML5 and of a mobile phone app based on an educational MATLAB Live Script. The example target script is Two-dimensional Newton Cradles, a fun Live Script for physics students by the author. The objective is to create a mobile phone app that allows the user to exercise interactive controls similar to the slider controls in the Live Script but in an interactive mobile-phone-deployed simulation.
Using the AI setup described in A universal agentic AI for your laptop and beyond, Claude AI was directed to first study the Live Script and then invent an HTML5 prototype as described in Double Pendulum Chaos Explorer: From HTML5 Prototype to MATLAB interactive application with AI. Claude was then directed to convert the HTML5 to Swift in a project structure and to operate Xcode to generate an iOS app. After some modifications to the iOS app, a final HTML5 version was created. The use of Claude (Anthropic) and iOS (APPLE) does not constitute endorsement of these products. Similar results are possible with other AIs and operating systems.
This File Exchange package contains: 1) the HTML5 prototype and revised HTML5 which may be compared to the original Live Script, 2) a livescript-2-ios-skill that may be imported into any AI to assist in replicating the process, and 3) related media files.

Cite As

Duncan Carlsmith (2026). Live Script to Mobile-Phone App Conversion with AI (https://au.mathworks.com/matlabcentral/fileexchange/183070-live-script-to-mobile-phone-app-conversion-with-ai), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.4

Removed upload folder structure

1.0.3

Correcting some upload failure

1.0.2

Added revised HTML5

1.0.1

minor

1.0.0