使用matlab生成DLL时显示
??? Error using ==> mbuild
Unable to complete successfully
弹出对话框内容为:
??? Error: An error occurred while shelling out to mbuild (error code = 1).
Unable to build executable (specify the -v option for more information).
但是目录下已经生成了DLL文件,可是调用它VB提示ACTIVEX部件不能创建对象
这是出错过程的代码:
Private n As Double
Private n2 As Double
Private PP As PPCOM.PPCOMclass
Set PP = New PPCOM.PPCOMclass 提示这句出错
怎么回事呢,如何解决?
怎么改变?在VB里改变还是MATLAB,是VB6