Translate or write a small representative calculation before moving a larger program. Check array dimensions, precision, and the behavior of any required package functions. Compare results against a known example, and preserve a runnable script with inputs so a numerical result can be reproduced rather than copied from an interactive session.
This is best suited to students and engineers doing matrix-based numerical work. Before committing a larger project, account for these trade-offs: not every MATLAB toolbox or feature is compatible; large calculations depend on numerical methods and hardware.