when i execute Matlab Sim command from C#.net using MLApp.MLAppClass , error is coming. But same can be run directly from Matlab.

조회 수: 1 (최근 30일)
Error text is as follows. "Stateflow License could not be checked out. Defaulting to a demonstrative version of stateflow. You can load and simulate stateflow demo digrams only. Saving Simulink models containing stateflow block is prohibited."
But Sim command on the same model can be executed successfully directly from Matlab.
  댓글 수: 1
Kaustubha Govind
Kaustubha Govind 2011년 9월 2일
Do you have multiple versions of MATLAB installed? Perhaps your call from C#.NET is invoking a version of MATLAB that does not have a Stateflow license? If you have only one installation of MATLAB, run the command "ver" and see if Stateflow is listed.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by