Redian新闻
>
Re: How to convert matlab .m file to stand alone C application?
avatar
Re: How to convert matlab .m file to stand alone C application?# EE - 电子工程
t*t
1
I think you are using some kind of unix, so you need to tell
your program where the matlab C library (the .so files) are.
Generally it is placed in $MATLABROOT/extern/lib/$ARCH.
$MATLABROOT is the root dir of matlab system
(you should be able to find $MATLABROOT/bin/matlab),
and $ARCH is the type of computer you are using, like
sol2 for SUN, glnx86 for linux, sgi64 or sgi for SGI(IRIX), etc.
write this before you run the program:
if you are using sh/bash
LD_LIBRARY_PATH=the_directory
export LD_L
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。