[問題] Simulink 用 embedded function的問題已回收
我之前在舊版(多舊我也忘了) 有用過embedded function
當時候可以正常compile
但換成2009a就不行了
有爬過文說是說新板的不內建compile
我又去下載MS的VC++ 2008
執行 mex -setup
Select a compiler:
[1] Microsoft Visual C++ 2008 Express in C:\Program Files (x86)\Microsoft
Visual Studio 9.0
[0] None
有出現下面的字樣
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
http://www.mathworks.com/support/solutions/data/1-5C27B9.html?solution=1-5C27B9
Building with the -largeArrayDims option enables the new API.
之後執行有embedded function 的時候會出現error
D:\ADC_research\transfer\Test_nonideal\slprj\_sfprj\ebed_func\_self\sfun\src>call
"mexopts.bat"
'nmake' 不是內部或外部命令、可執行的程式或批次檔。
??? Error using ==> test_emb at 4
Error using ==> targetman>throw_make_error at 558
(SLSF Diagnostic).
請強者大大幫我解決一下吧...(跪)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.150.154
推
03/11 22:15, , 1F
03/11 22:15, 1F