| Error Message | Likely Cause | Solution |
|---------------|--------------|----------|
| Undefined function 'mexVoxelDose' | MEX files not compiled | Re-run compile_mex_files |
| Out of memory | Insufficient RAM | Reduce voxel grid size via options.resolution |
| DICOM library not found | DCMTK missing | Install DCMTK and set LD_LIBRARY_PATH |
| Invalid MEX-file: missing symbol | Compiler mismatch | Recompile with correct MATLAB-supported compiler |
| Step | Action | Command / UI |
|------|--------|--------------|
| 1 | Verify OS version & enable Hyper‑V (optional) | systeminfo → Verify Version; dism /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V |
| 2 | Install .NET Runtime | winget install Microsoft.DotNet.DesktopRuntime.6 |
| 3 | Install Docker Desktop | Download from https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe and run installer. Restart when prompted. |
| 4 | Pull MIRD237 container image | Open PowerShell (admin): docker pull mirdcorp/mird237:latest |
| 5 | Create PostgreSQL instance (if not existing) | Use PostgreSQL Installer (EnterpriseDB) → Set password for postgres. |
| 6 | Initialise database schema | docker run --rm -e PGPASSWORD=YourPgPass -v %cd%/sql:/sql mirdcorp/mird237-dbinit |
| 7 | Run MIRD237 container | powershell docker run -d ^ --name mird237 ^ -p 443:443 ^ -e DB_HOST=localhost ^ -e DB_PORT=5432 ^ -e DB_USER=postgres ^ -e DB_PASSWORD=YourPgPass ^ -e LICENSE_KEY=XXXXX-XXXXX-XXXXX-XXXXX ^ mirdcorp/mird237:latest |
| 8 | Verify service is up | Open browser → https://<host‑ip> (accept self‑signed cert on first launch) → Login with admin / admin123. |
| 9 | Register license | Dashboard → Administration → License → Paste the key. |
| 10 | Configure data sources | Connectors → Add OPC‑UA, MQTT, etc. |
sudo dnf install mird237
The mird237 install process is a relic of industrial computing. While frustrating, manual installation with driver signature enforcement disabled is the only reliable method. For production environments, upgrading to a modern Moxa device with official Windows 11 drivers is strongly recommended. mird237 install
Pro tip: Once installed, immediately export the driver folder and COM port settings. You will need them again after every major Windows update.
Disclaimer: Moxa and Windows are trademarks of their respective owners. This guide is for legacy troubleshooting purposes.
Then recompile MEX files:
clear mex
compile_mex_files -with-dcmtk
To completely remove:
% Remove from MATLAB path rmpath(genpath('/opt/mird237')); savepath
% Delete directory (outside MATLAB) !rm -rf /opt/mird237| Error Message | Likely Cause | Solution
To update: backup your custom scripts, download the new version, and repeat the mird237 install steps from Step 2.