- Build your source code on the command line and make sure it builds without errors. It might be the regular command line or a command line provided by your IDE (For instance, with Visual Studio, you have to use the Visual Studio Developer Prompt to build your source code. The regular command line does not have all the environment variables correctly set up.)
- Prepend polyspace-configure to this build command and run again. A Polyspace project or options file is generated for you.
How to generate option file using ST Visual Developer IDE for bug finder analysis
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am using ST Visual Developer IDE for compiling and building our project, we do have Cosmic STM8 compiler.
I wanted to perform Bug Finder Analysis on my project, for this Input Option File is required which contains the compilation flow of the project, but as we are using ST Visual Developer IDE to compile oor project how we can generate the option file.
0 Commenti
Risposte (1)
Anirban
il 4 Feb 2022
Please contact MathWorks Technical Support for help with setting up your project.
I can give you a general idea of the workflow if you want to get started on your own. When you build your source code in the IDE, you might be using the compilation toolchain as stated directly in the IDE or using a build command. In either case, you might be simply clicking a menu item to build your source code. If you know the underlying command behind the menu item (most IDEs tell you in a console which command is running when you click a menu item for building), you can run polyspace-configure on this command and generate a Polyspace options file. The polyspace-configure workflow is simply this:
Some examples can be found here for other IDEs:
You can always set up your project manually by choosing cosmic for the option Compiler (-compiler). But it is possible you might run into errors when running the Polyspace analysis because other compile options will not be correctly emulated in the Polyspace project. It is best to let Polyspace figure out which options to set, based on your build command. That is the polyspace-configure workflow stated above.
Vedere anche
Categorie
Scopri di più su Run Settings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!