Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 errors occur in the simulation #1

Open
XinyangJiang opened this issue Feb 22, 2019 · 1 comment
Open

2 errors occur in the simulation #1

XinyangJiang opened this issue Feb 22, 2019 · 1 comment
Assignees

Comments

@XinyangJiang
Copy link

I'm so sorry to bother you to help me to solve this problem.
Thanks for your kindness.

When I run the simulation '\Controllers\Flatground\FG_Simulator.slx' , 2 errors occured.
The details are shown below.
In the error information, there is a path 'D:\graduate\robots\cassie\github\cassie_controller_v3_yukai\controllers\flatground\utils\funcs\kin'. I think this is a path in your computer. So I tried to create a folder with this path and pasted all files copied from 'C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Controllers\Flatground\utils\funcs\kin'
However, the errors still excit and the same error information shows again.
For now, i really don't know how to solve this problem, so I come to ask for your help.
Thank you very much.

Build procedure for model: 'FG_Simulator' aborted due to an error.

Problem creating simulation target for the model 'FG_Simulator'.
Component:Simulink | Category:Block error
Error(s) encountered while building simulation target MEX-file for model 'FG_Simulator'.
Caused by:

Compiling "FG_Simulator_cgxe.c"

cl.exe /O2 /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMX_COMPAT_64 /DMATLAB_DEFAULT_RELEASE=R2017b /DMATLAB_MEX_FILE /nologo /MD /I "D:\Program Files\MATLAB\R2018b\extern\include"  /I "D:\Program Files\MATLAB\R2018b\simulink\include"  /I "D:\Program Files\MATLAB\R2018b\rtw\c\src" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\Build\Cache\slprj\_cgxe\fg_simulator\src" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\controllers\flatground" /I "D:\graduate\robots\cassie\github\cassie_controller_v3_yukai\controllers\flatground\utils\funcs\kin" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\controllers\flatground\utils\funcs\kin\src" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache\slprj\_cprj" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache\slprj\_cgxe\FG_Simulator\src" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache" "FG_Simulator_cgxe.c" 

FG_Simulator_cgxe.c

Compiling "FG_Simulator_cgxe_registry.c"

cl.exe /O2 /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMX_COMPAT_64 /DMATLAB_DEFAULT_RELEASE=R2017b /DMATLAB_MEX_FILE /nologo /MD /I "D:\Program Files\MATLAB\R2018b\extern\include"  /I "D:\Program Files\MATLAB\R2018b\simulink\include"  /I "D:\Program Files\MATLAB\R2018b\rtw\c\src" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\Build\Cache\slprj\_cgxe\fg_simulator\src" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\controllers\flatground" /I "D:\graduate\robots\cassie\github\cassie_controller_v3_yukai\controllers\flatground\utils\funcs\kin" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\controllers\flatground\utils\funcs\kin\src" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache\slprj\_cprj" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache\slprj\_cgxe\FG_Simulator\src" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache" "FG_Simulator_cgxe_registry.c" 

FG_Simulator_cgxe_registry.c

Compiling "m_h4juxk8oyPMNMUyKg1BAaE.c"

cl.exe /O2 /c /Zp8 /GR /W3 /EHs /D_CRT_SECURE_NO_DEPRECATE /D_SCL_SECURE_NO_DEPRECATE /D_SECURE_SCL=0 /DMX_COMPAT_64 /DMATLAB_DEFAULT_RELEASE=R2017b /DMATLAB_MEX_FILE /nologo /MD /I "D:\Program Files\MATLAB\R2018b\extern\include"  /I "D:\Program Files\MATLAB\R2018b\simulink\include"  /I "D:\Program Files\MATLAB\R2018b\rtw\c\src" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\Build\Cache\slprj\_cgxe\fg_simulator\src" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\controllers\flatground" /I "D:\graduate\robots\cassie\github\cassie_controller_v3_yukai\controllers\flatground\utils\funcs\kin" /I "C:\Users\xinya\Desktop\cassie_flatground_controller-master\cassie_flatground_controller-master\controllers\flatground\utils\funcs\kin\src" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache\slprj\_cprj" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache\slprj\_cgxe\FG_Simulator\src" /I "C:\Users\xinya\Desktop\Cassie_FlatGround_Controller-master\Cassie_FlatGround_Controller-master\Build\Cache" "m_h4juxk8oyPMNMUyKg1BAaE.c" 

m_h4juxk8oyPMNMUyKg1BAaE.c
m_h4juxk8oyPMNMUyKg1BAaE.c(14240): warning C4133: “函数”: 从“char [7]”到“const emlrtMsgIdentifier *”的类型不兼容
m_h4juxk8oyPMNMUyKg1BAaE.c(14243): warning C4133: “函数”: 从“char [17]”到“const emlrtMsgIdentifier *”的类型不兼容
NMAKE : fatal error U1073: 不知道如何生成“D:\Program”
Stop.

@yukaigong
Copy link
Collaborator

Which compiler are you using? In the FG_Controller Block, try to change the simulation mode from code generation to interpretation.

@yukaigong yukaigong self-assigned this Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants