フィルターのクリア

Make error in compiling simulink 3d simulink file

3 ビュー (過去 30 日間)
Pratap Bhanu Solanki
Pratap Bhanu Solanki 2011 年 7 月 31 日
[EDIT: 20110731 17:37 - reformat - WDR]
Hello all,
I am working on simulink for 3d animation but I receive this error when I compile the file.This error was not shown sometime when I previously worked with it.So can anyone suggest me what is the supposed cause of the error
The error comes under the heading 'Make error' with this dialogue The dialogue is as follows:
Making simulation target "fish_sfun", ...
C:\Program Files\MATLAB\R2010b\slprj\_sfprj\fish\_self\sfun\src>call "mexopts.bat"
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
### Compiling "fish_sfun.c"
cl.exe /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /nologo /MD /MD /I "c:\program files\matlab\r2010b\extern\include" /I "c:\program files\matlab\r2010b\simulink\include" /I "c:\program files\matlab\r2010b\stateflow\c\mex\include" /I "c:\program files\matlab\r2010b\stateflow\c\debugger\include" "fish_sfun.c"
fish_sfun.c
### Compiling "fish_sfun_registry.c"
cl.exe /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /nologo /MD /MD /I "c:\program files\matlab\r2010b\extern\include" /I "c:\program files\matlab\r2010b\simulink\include" /I "c:\program files\matlab\r2010b\stateflow\c\mex\include" /I "c:\program files\matlab\r2010b\stateflow\c\debugger\include" "fish_sfun_registry.c"
fish_sfun_registry.c
### Compiling "c2_fish.c"
cl.exe /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMATLAB_MEX_FILE /nologo /MD /MD /I "c:\program files\matlab\r2010b\extern\include" /I "c:\program files\matlab\r2010b\simulink\include" /I "c:\program files\matlab\r2010b\stateflow\c\mex\include" /I "c:\program files\matlab\r2010b\stateflow\c\debugger\include" "c2_fish.c"
c2_fish.c
### Linking ...
link.exe /nologo /dll /OPT:NOREF /export:mexFunction /OUT:fish_sfun.mexw64 /map:"fish_sfun.map" "c:\program files\matlab\r2010b\stateflow\c\mex\lib\win64\sfc_mex.lib" "c:\program files\matlab\r2010b\stateflow\c\debugger\lib\win64\sfc_debug.lib" "C:\Program Files\MATLAB\R2010b\extern\lib\win64\microsoft\libmx.lib" "C:\Program Files\MATLAB\R2010b\extern\lib\win64\microsoft\libmex.lib" "C:\Program Files\MATLAB\R2010b\extern\lib\win64\microsoft\libmat.lib" "C:\Program Files\MATLAB\R2010b\extern\lib\win64\microsoft\libfixedpoint.lib" "C:\Program Files\MATLAB\R2010b\extern\lib\win64\microsoft\libut.lib" "C:\Program Files\MATLAB\R2010b\extern\lib\win64\microsoft\libmwmathutil.lib" "C:\Program Files\MATLAB\R2010b\extern\lib\win64\microsoft\libemlrt.lib" "c:\program files\matlab\r2010b\lib\win64\libippmwipt.lib" "c:\program files\matlab\r2010b\extern\lib\win64\microsoft\libmwblascompat32.lib" @fish_sfun.mol
Creating library fish_sfun.lib and object fish_sfun.exp
mt -outputresource:"fish_sfun.mexw64;2" -manifest "fish_sfun.mexw64.manifest"
Microsoft (R) Manifest Tool version 5.2.3790.2076
Copyright (c) Microsoft Corporation 2005.
All rights reserved.
### Created fish_sfun.mexw64
Make successful for machine: "fish"
*
*moving fish_sfun.mexw64 from C:\Program Files\MATLAB\R2010b\slprj\_sfprj\fish\_self\sfun\src to C:\Program Files\MATLAB\R2010b failed.*
The problem here is only with the last part all other things are fine (as it seems) with this dialogue.
Any suggestions will be very helpful for me as my whole project work is halted because of this.

採用された回答

MarkB
MarkB 2011 年 8 月 16 日
I second Walter's theory about the writability of the directory. An easy way to check this would be to run MATLAB as administrator and see if the problem occurs.
  1 件のコメント
Pratap Bhanu Solanki
Pratap Bhanu Solanki 2011 年 8 月 21 日
Thanks, that problem solved by running matlab as administrator.

サインインしてコメントする。

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 7 月 31 日
I would not generally expect C:\Program Files\MATLAB\R2010b to be writable by the user.
Which directory are you cd'd to when you start the compiling?
  1 件のコメント
Pratap Bhanu Solanki
Pratap Bhanu Solanki 2011 年 8 月 14 日
Generally I do not change directory while compiling .
More over this problem does not come sometimes,but am not able to figure out when it gives error and when not.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by