Make error in compiling simulink 3d simulink file
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
[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.
0 commentaires
Réponse acceptée
MarkB
le 16 Août 2011
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.
Plus de réponses (1)
Walter Roberson
le 31 Juil 2011
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?
Voir également
Catégories
En savoir plus sur Application Deployment dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!