I am trying to use matlab libmat.dll in a C application. To compile my C application I use MinGW, for now I use matlab exemple "matcreate.c" and try to compile it, so the projects consist of only one file : main.c .
However, the maximum value allowed in the Preferences GUI (typically set to 25% of Physical Memory, whihc you can ask by the memory MATLAB command) can still be too smallfor your purpose. In that case, you can directly edit matlab.prf file in thefolder specified by the prefdir MATLAB function(eg. 'C:\Users\xxxxxxx\AppData\Roaming\MathWorks\MATLAB\R2018b'). Find theparameter JavaMemHeapMax in the file and increase the number that followsthe capital I (in MB) to increase the maximum Java heap memory size. Thechange will be reflected by the Preferences as above.
> Hi, I am trying to install SimMechanics Link 3.2 on Matlab R2010a. I have
> downloaded the "install_addon.m" and the "smlink.r2010a.win32.zip" files
> to a directory that is present on the Matlab path.
> I then executed the following command in the Matlab Command prompt:
>
>>> install_addon('smlink.r2010a.win32.zip')
>
> and I got the following error message:
>
> Installing smlink...
> Extracting archive smlink.r2010a.win32.zip to C:\Program
> Files\MATLAB\R2010a...
> Warning: Permission denied to create file
> "C:\Program Files\MATLAB\R2010a\bin\win32\pmi_api.dll.csf".
According to these warnings, you will need to have write permission to the
directories that are included in your MATLAB installation in order to
install SimMechanics Link..*snip*--
Steve Lord
sl...@mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: _FAQ
To contact Technical Support use the Contact Us link on