Coder Social home page Coder Social logo

Code Gen about t-mats HOT 1 CLOSED

nasa avatar nasa commented on August 21, 2024
Code Gen

from t-mats.

Comments (1)

GRC-RHC-Sim avatar GRC-RHC-Sim commented on August 21, 2024

Complete 7/9/2015
Finished making modification for Code gen. In general it seems to work. For my testing, MATLAB v 2015a and compiler SDK 7.1, There was no need to move C and mex files into the working directory. However there did seem to be a bit of a bug when T-MATS blocks were in a model call block ( a separate issue will be opened for this).

Changes included:
1 - placing all c and mex files in the same folder on the MATLAB path
2 - re-writing the dataoutput block to use a MATLAB function block using only code compiling functions, such as fopen, fprintf. This lead to the creation of binary files for each block when using iDes. Also, the initialization when reading these files was updated and all naming commands beyond the file name were removed.
3 - removed abs_D from all code files, there were issues with defining it in too many files.
4 - removed other commands from the C-code that were not compatible with code gen.

For a complete list please view the individual commits.
3b4b84d : Moved C to same folder as mex
11910fb : Code Gen Block updates
24cc0b4 : Code Gen example updates

from t-mats.

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.