
先是找不到指定模块。确定后,找不到指定程序ddot。确定后,
Default Charset: ibm-1386_P100-2002
Register State:
EAX = 00000000 EBX = 00000000
ECX = 7c80996d EDX = 00720003
ESI = 0130a780 EDI = 014d0190
EBP = 00cda6d8 ESP = 00cda648
EIP = 00000000 FLG = 00010206
Error in ==>whitebg at 96
lum = [.298936021 .58704307445 .114020904255]*c'
Error in ==>colordef>wdefault at 103
whitebg(fig,[1 1 1])
Error in ==>colordef at 50
wdefault(fig)
Error in ==>hgrc at 59
colordef(0,'white') % Set up for white defaults
Error in ==>matlabrc at 89
hgrc
The element type "name" must be terminated by the matching end-tag "</name>".
Could not parse the file: c:\matlab7\toolbox\ccslink\ccslink\info.xml
>>
MATLAB安装完后打开matlab,会出现“找不到指定模块”对话框或有些命令不能完成:
解决方案:
加一个系统的环境变量:“我的电脑 右键”--“属性”--“高级”--“环境变量”--“新建”
名称:BLAS_VERSION
值:matlab安装目录\atlas_Athlon.dll
例如:我装在C盘C:\MATLAB7\bin\win32\atlas_Athlon.dll
出现runtime error的问题解决如下:
解决方案:“右键”--“属性”--“主题”,将主题改为“Windows 经典样式”或者是“Windows XP”的,这样就可以了。
A=which('test')\x0d\x0a\x0d\x0amatlab代码中获取当前m文件所在的路径\x0d\x0a\x0d\x0a文件放在哪里,直接可以运行。不用changefolder,会把M文件位置变成当前工作目录。\x0d\x0a%savem-fileasaa.m\x0d\x0afunctionres=aa()\x0d\x0aclc\x0d\x0ap1=mfilename('fullpath')\x0d\x0ai=findstr(p1,'\')\x0d\x0ap1=p1(1:i(end))\x0d\x0acd(p1)\x0d\x0aend1、首先点击进入matlab,然后点击上方选项中的文件,如下图所示。
2、点击文件后,就可以在下方找到工作路径图标,点击进入工作路径设置。
3、这样就可以看到当前matlab的工作路径了,如下图所示。如果想要添加新的工作路径,点击左上方的添加即可。
4、然后选择一个新的工作路径,也就是一个新的文件夹,点击确定。
5、然后点击下方的保存该工作路径,就可以将新的工作路径添加到matlab了。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)