声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1033|回复: 0

[混合编程] 求助!

[复制链接]
发表于 2006-10-29 23:48 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我编写了如下的一个方程组

function [a,b,c,d]=fch()

[a,b,c,d]=solve('-(a+250)/b-(b-d)/(a-c)=0','(a+250)^2+b^2-125^2=0','-c/d-(b-d)/(a-c)=0','c^2+d^2-62500=0');

a=double(vpa(a))
b=double(vpa(b))
c=double(vpa(c))
d=double(vpa(d))

在matlab里运行没有问题,结果也对

运行
mcc -m fch

出现警告:
Warning: File: solve Line: 97 Column: 16
The MATLAB Compiler does not currently support MATLAB object-oriented programming.  References to the method "findsym" will produce a run-time error.
Warning: File: solve Line: 87 Column: 19
The MATLAB Compiler does not currently support MATLAB object-oriented programming.  References to the method "sym" will produce a run-time error.
Warning: File: vpa Line: 28 Column: 9
The MATLAB Compiler does not currently support MATLAB object-oriented programming.  References to the method "sym" will produce a run-time error.
Warning: File: maple Line: 94 Column: 19
The MATLAB Compiler does not currently support MATLAB object-oriented programming.  References to the method "sym" will produce a run-time error.

这是为什么,怎么处理?
请高人指点
回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-29 20:15 , Processed in 0.052208 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表