Giter Site home page Giter Site logo

Comments (17)

anmavrid avatar anmavrid commented on September 24, 2024

Hello @marious123g,

Thanks for reading our paper. If you have already installed CoCoSim (installation instructions: https://github.com/NASA-SW-VnV/CoCoSim/blob/master/INSTALL.md), here is a video demo with the steps that you need to follow on the CoCoSim side: https://drive.google.com/file/d/1wcM4dYThECuhDD7I_-mi9c3mQdjHYzSv/view?usp=sharing (this was part of our conference demo).

I hope this is helpful.

Anastasia

from fret.

SoftPro avatar SoftPro commented on September 24, 2024

Hello @anmavrid
This is the cocosim I installed on MATLAB,image
This is cocosim in the video,
image
I want to ask why there are no options after installation. Is it because of the version?

from fret.

andreaskatis avatar andreaskatis commented on September 24, 2024

Hello @SoftPro,

How did you install CoCoSim? I suggest using the latest release: https://github.com/NASA-SW-VnV/CoCoSim/releases/tag/v1.2

from fret.

SoftPro avatar SoftPro commented on September 24, 2024

from fret.

SoftPro avatar SoftPro commented on September 24, 2024

Hello @andreaskatis
I installed cocosim according to the method you provided, but I don't know why there is no requirement in it, and then I can't import the requirements. How can I solve this problem?
image

from fret.

andreaskatis avatar andreaskatis commented on September 24, 2024

Hi @SoftPro,

Unfortunately I do not currently have access to the tool to try and replicate your issue. Are you sure that you are launching CoCoSim from the directory where 'start_cocosim.m' exists for version v1.2?

If yes, can you try v1.1 and see if that works instead? https://github.com/NASA-SW-VnV/CoCoSim/releases/tag/v1.1

from fret.

SoftPro avatar SoftPro commented on September 24, 2024

Hello @andreaskatis
When I use v1 1, the same problem occurred.However, they all reported the same error, as shown in the figure:
image
I'd like to ask if Ubuntu version needs 20.04, and I'm using 18.04, or any other questions?

from fret.

andreaskatis avatar andreaskatis commented on September 24, 2024

Hi @SoftPro,

Okay, so the installation did not complete successfully. I assume that the error is popping up some time after trying to install using the 'install_cocosim' script under 'CoCoSim/scripts'.

The error message mentions a log file 'bootstrap.log' under 'tools/build'. Can you please attach this file here?

from fret.

SoftPro avatar SoftPro commented on September 24, 2024

from fret.

andreaskatis avatar andreaskatis commented on September 24, 2024

Hi @SoftPro,

I don't see any attachment in your reply, but if it is an issue with the opam version, I would suggest switching to v2.0.5, which is the one I use and know for sure it currently works.

from fret.

SoftPro avatar SoftPro commented on September 24, 2024

hello,@andreaskatis
Thank you very much for your help. I changed the OPAM version and solved the previous installation problem, but there is still no option to add requirements in Simulink. The following sentence appears after installation. I have also executed it, but it is still ineffective. May there be other problems?
image

from fret.

andreaskatis avatar andreaskatis commented on September 24, 2024

Hi @SoftPro,

All I can guess at the moment is that you are are not starting CoCoSim properly. Please make sure that you follow the steps below :

  1. You extract the release .zip file and run the install_cocosim script.
  2. When (1) is completed, you have to open up MATLAB and navigate using MATLAB's explorer window to the home directory of the downloaded CoCoSim release. According to your last screenshot this means that you have to navigate into '/home/cs18/Desktop/CoCoSim_v1.2'. Then, start CoCoSim from the MATLAB terminal by typing 'start_cocosim'. This step is something that you have to do every time that you start a fresh instance of MATLAB.

Unfortunately, I cannot currently provide visual guidance in the form of screenshots, but the most important thing is to make sure that you have navigated into CoCoSim's home folder within the MATLAB file explorer, before starting CoCoSim.

Can you confirm that you are performing the steps, but still see different options? If yes, did you also try using v1.1 after resolving the previous issues in this thread?

from fret.

SoftPro avatar SoftPro commented on September 24, 2024

Hello,andreaskatis
You can refer to this picture. It seems that it is not the reason to start cocosim. I start cocosim V1 in this way 1 for the same reason, there is no option to import requirements.
image

from fret.

andreaskatis avatar andreaskatis commented on September 24, 2024

Looking at the screenshot, it appears that when you run 'start_cocosim', the configuration step skips the part that synchronizes with the necessary remote repositories.

This is probably happening because you are either running this on a machine without internet connection, or a connection that blocks direct access to github.

In this case, you would have to complete the configuration manually. This can be done by looking at what the 'scripts/install_cocosim_lib.m' does to fetch and install dependencies, and perform each one of them manually.

from fret.

SoftPro avatar SoftPro commented on September 24, 2024

Hello,@andreaskatis
I'm sorry to bother you again, but there are still some questions I don't understand. Executing install_ At the time of cocosim, my lustrec has been successfully installed. It seems that the import requirements depend on this lustrec file. In the “cocosim / tools / filters / OSX / bin /” directory, you can find binary files such as kind2 and lustrec, and I run start_ Why does start_cocosim skip repositories because of the matlab version? I use the 2021a version.

from fret.

andreaskatis avatar andreaskatis commented on September 24, 2024

Hello @SoftPro,

The release comes with prebuilt binaries for external tools such as LustreC. The 'OSX' folder is not relevant to Linux installations. Instead, you should have prebuilt binaries under the 'linux' folder (it is at the same level as the 'OSX' folder).

In any case, I cannot say for sure if the matlab version is the main culprit. I can say for sure that 2020b works, because this is the latest version I am using. You can try installing that and see if it works.

Finally, since this is an issue with CoCoSim, and not FRET, I would suggest that we continue the discussion over at the CoCoSim Issues page:

https://github.com/NASA-SW-VnV/CoCoSim/issues

If possible, please create a new issue there so that we have all the relevant information within the CoCoSim repository.

from fret.

anmavrid avatar anmavrid commented on September 24, 2024

I am closing this issue since it is on the CoCoSim side and the discussion has been moved over to the CoCoSim repository.

from fret.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.