Compiling MATLAB Program for Mac & PC

  • Context: MATLAB 
  • Thread starter Thread starter EngageEngage
  • Start date Start date
  • Tags Tags
    Matlab
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 4K views
EngageEngage
Messages
203
Reaction score
0
Hi, I was wondering if it was possible to compile a MATLAB program somehow to a format that doesn't require MATLAB to view. If possible is there a format compatible with Macs and PCs? Thank you for any help!
 
Physics news on Phys.org
Yes. Matlab allows you to compile standalone applications that contain functionality from Matlab but that do not require Matlab itself to run. Matlab's documentation on how to do this is well worth a read. Type 'doc mcc' from within Matlab to get started.
 
But you need the Matlab compilier and that is not included in the standard distribution, it is an extra "toolbox" although I don't think it is very expensive (compated to Matlab itself, that is).