[問題]sinulink之Embedded使用方法 已回收
小弟我想將simulink中的元件取代為方程式
使用User-Defined Functions中的Embedded MATLAB Function來做
先使用內建的
function y = fcn(u)
%#eml
y = u;
去測試,結果產生
Unable to locate 'mexopts.bat', and therefore cannot determine which compiler
to use for simulation builds.
Use 'mex -setup' to select a supported compiler.
和
Parsing successful for machine: "fcn"(#47)
不能使用
執行mex -setup 一串[y] 之後
Trying to update options file:
C:\Users\FQs\AppData\Roaming\MathWorks\MATLAB\R2010b\mexopts.bat
From template:
D:\MATLAB\R2010b\bin\win64\mexopts\msvc90freeopts.bat
Done . . .
問題還是出現跟之前一樣要我用mex -setup
有人能點一下問題何在嗎..?
嘗試 MATLAB Fcn中 Orz....
恩 自問自答一下 這問題好像只出現在win64位元中 無解 囧rz
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.134.117.191
※ 編輯: GBye 來自: 140.134.117.191 (12/24 19:06)