Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using matlab with c#

7 views
Skip to first unread message

Najiya P M

unread,
May 22, 2013, 1:59:09 AM5/22/13
to
I have a matlab program in which temporary variables are stored into a mat file. when i run the corresponding dll file from c# i get the following error:
MWMCR::EvaluateFunctionError unable to write file myVar.mat permission denied.How do I save into the mat file?

Steven_Lord

unread,
May 22, 2013, 9:56:42 AM5/22/13
to


"Najiya P M " <naji...@gmail.com> wrote in message
news:knhmrd$gpb$1...@newscl01ah.mathworks.com...
Does the file myVar.mat already exist? If so, do you have permission to
modify it?

http://en.wikipedia.org/wiki/Filesystem_permissions

If it does not already exist, do you have write permission to the directory
in which you're attempting to write the file?

--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Najiya P M

unread,
May 23, 2013, 1:14:08 AM5/23/13
to

The file myVar.mat is a file shared in the package. When I changed the write permission it worked. Thank you.
0 new messages