simulink to AMESim 耦合的编译问题
我按帮助信息提示的步骤进行simulink to AMESim的接口 耦合,但在编译时总提示出错,哪位大侠帮忙看看是什么原因?如何解决?报错信息如下:
>> sl2ame('AME_filter','i:\Nozzle606\libsl2ame','auto')
====> STARTING SL2AME CODE GENERATION FOR MODEL AME_FILTER...
====> Step #1: Checking system and model...
Variable step-size Simulink model => using RSIM based target...
====> Step #2: Generating code & building OBJ file
Warning: Using a default value of 0.2 for maximum step size.The simulation step
size will be equal to or less than this value.You can disable this diagnostic by
setting 'Automatic solver parameter selection' diagnostic to 'none' in the
Diagnostics page of the configuration parameters dialog.
> In rsimgetrtp at 114
In sl2ame at 309
Warning: RTWOptions param is obsolete.
> In sl2ame at 319
### Starting Real-Time Workshop build procedure for model: AME_filter
Warning: Using a default value of 0.2 for maximum step size.The simulation step
size will be equal to or less than this value.You can disable this diagnostic by
setting 'Automatic solver parameter selection' diagnostic to 'none' in the
Diagnostics page of the configuration parameters dialog.
### Writing SPE file AME_filter.spe
### .......done!
### Writing AMESim submodel file AME_filter_amesubmodel.c
### .......done!
### Writing HTML file AME_filter.html
### .......done!
### Writing file for getting info for model: AME_filter_get_num_inputs_outputs.m
### .......done!
Setting environment for using Microsoft Visual Studio 2008 Beta2 x64 tools.
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation.All rights reserved.
C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\win32.mak(125) : fatal error U1050: Must specify CPU environment variable ( CPU=i386, CPU=IA64, CPU=AMD64)
Stop.
The make command returned an error of 2
'An_error_occurred_during_the_call_to_make' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
### Real-Time Workshop build procedure for model: 'AME_filter' aborted due to an error.
ans =
13x1 struct array with fields:
file
name
line
??? Error using ==> sl2ame at 345
RTWBUILD Failed - closing the Simulink system Must specify CPU environment variable
未指定环境变量。 Must specify CPU environment variable
未指定环境变量。 如何设置?我的系统是Intel x64。 whp 发表于 2013-7-23 23:09
如何设置?我的系统是Intel x64。
兄弟,你的这个问题解决了吗,我也遇到了同样的问题,无从下手。。。
页:
[1]