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

Backward compatibility for MATLAB in the examples #50

Open
lordmendonca opened this issue Feb 20, 2024 · 2 comments
Open

Backward compatibility for MATLAB in the examples #50

lordmendonca opened this issue Feb 20, 2024 · 2 comments
Assignees

Comments

@lordmendonca
Copy link

I am a MATLAB R2017b user adhering to the toolchain requirements. I want to study the example(s) provided in order to naturally adapt to my requirements. However, the examples use the 'ss' function, which is not supported in MATLAB 2017. Therefore, I would recommend providing an example with backward compatibility.

@yangbo116
Copy link

I am try to run the .m file t00_basic_tutorial, but there are occurs the Error with Error using mex
mpc_solver_plain_C.c
D:\spcies_root\Spcies-0.3.10\generated_solvers\mpc_solver_plain_C.c(739): warning C4013:
¡°clock_gettime¡±Î´¶¨Ò壻¼ÙÉèÍⲿ·µ»Ø int
D:\spcies_root\Spcies-0.3.10\generated_solvers\mpc_solver_plain_C.c(739): error C2065:
¡°CLOCK_MONOTONIC_RAW¡±: δÉùÃ÷µÄ±êʶ·û
I have no idear why it is hapen
Furthermore, when i run spcies.m, why there are so many "?" in the list of ansower.

@pablokrupa
Copy link
Member

I am try to run the .m file t00_basic_tutorial, but there are occurs the Error with Error using mex mpc_solver_plain_C.c D:\spcies_root\Spcies-0.3.10\generated_solvers\mpc_solver_plain_C.c(739): warning C4013: ¡°clock_gettime¡±Î´¶¨Ò壻¼ÙÉèÍⲿ·µ»Ø int D:\spcies_root\Spcies-0.3.10\generated_solvers\mpc_solver_plain_C.c(739): error C2065: ¡°CLOCK_MONOTONIC_RAW¡±: δÉùÃ÷µÄ±êʶ·û I have no idear why it is hapen

This issue seems to be the one reported in #49. We are currently looking into it, and hope to have it solved in the near future. Could you please confirm if you are using Windows operating system and what version of Matlab?

Furthermore, when i run spcies.m, why there are so many "?" in the list of ansower.

I'm sorry, but I don't understand what you mean here. If you run spcies.m with no arguments, i.e.,
>> spcies
some basic help text should be printed in the command window. If you could provide more information such as the error message that you get when you run spcies we might be able to identify the problem.

@pablokrupa pablokrupa self-assigned this Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants