将Simulink模型添加NI VeriStand Blocks后,转换为dll文件时,显示错误S-function NIVeriStandIO does not exist 这是我查到的一个类似的答案(估计是机器翻译的):我不熟悉的纸,但也许你要么不具备MATLAB路径上的S函数文件?如果该文件是C文件,则需要先用MEX命令编译它,并确保包含MEX二进制文件的文件夹添加到MATLAB路径。 我看的教程也说过要使用mex-setup命令,设置The Mathworks, Inc. MATLAB®软件来创建一个NI VeriStand兼容的DLL 但是会显示*************************************************************************** Warning: MEX-files generated using Microsoft Visual C++ 2008 require that Microsoft Visual Studio 2008 run-time libraries be available on the computer they are run on. If you plan to redistribute your MEX-files to other MATLAB users, be sure that they have the run-time libraries. *************************************************************************** Trying to update options file: C:\Users\Jimmy\AppData\Roaming\MathWorks\MATLAB\R2010b\mexopts.bat From template: C:\PROGRA~1\MATLAB\R2010b\bin\win64\mexopts\msvc90freeopts.bat Done . . . ************************************************************************** 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/en/data/1-5C27B9/?solution=1-5C27B9 Building with the -largeArrayDims option enables the new API. ************************************************************************** 请问该如何解决,即使您不太了解,无法解决,如果能稍有指点,或指出方向,都敬请赐教,不胜感激