Error while obtaining sizes from MEX S-function 'casadi_fun'

조회 수: 10 (최근 30일)
Mohammad
Mohammad 2023년 5월 22일
댓글: HYO JEONG LIM 2024년 4월 25일
Hello,
I am getting this error when trying to build project in configuration desk (Dspace). When i build the model thorugh simulink, the build process does not give error, however it gives this error when building via configuration desk.
  댓글 수: 1
HYO JEONG LIM
HYO JEONG LIM 2024년 4월 25일
I am facing the same problem. If you solved it, I would be grateful if you could tell me how.

댓글을 달려면 로그인하십시오.

답변 (2개)

Sugandhi
Sugandhi 2023년 9월 21일
Hi,
I understand that you are getting error when building the model via configuration desk, but not through Simulink.
The error message says that there is an issue with generating code for the ‘testing_steering_4’ model in Configuration Desk. The specific error is related to obtaining sizes from the MEX S-function 'casadi_fun' in the 'testing_steering_4/S-Function'.
Few of the possible workarounds could be:
  1. Ensure that all relevant files and dependencies are included and available within the Configuration Desk project. Check to see that the 'casadi_fun' S-function, as well as any other needed files, are available and appropriately referenced.
  2. Check that the necessary MATLAB/Simulink toolboxes and libraries are installed, as they may be required for the code generation process. Make sure that the versions of MATLAB, Simulink, and Configuration Desk are compatible.
  3. Check Configuration Desk for any specific build settings or configurations that need to be changed for the 'testing_steering_4' model. Examine the model's configuration settings to ensure they are set appropriately.

HYO JEONG LIM
HYO JEONG LIM 2024년 4월 25일
I am facing the same problem. If you solved it, I would be grateful if you could tell me how.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by