Hi Peter,
Running MATLAB applications like the Transmission Line app on an M2 Mac can sometimes be challenging if they aren't natively supported on Apple Silicon. Here are a few steps you can try to get it working without using a virtual machine:
1) Rosetta 2: Make sure you have Rosetta 2 installed. Rosetta 2 allows Intel-based applications to run on Apple Silicon Macs. You can install it by running a command in Terminal:
softwareupdate --install-rosetta
2) MATLAB Version: Ensure you are using a version of MATLAB that supports Apple Silicon. Starting from MATLAB R2022a, there is native support for Apple Silicon. If you are using an older version, consider updating MATLAB.
Hope this helps.