Comments (1)
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)
- No system or file called 'GasTurbine_Dyn_Template.mdl' found.
- NPSS JT9D Example Model HOT 1
- Link to Cantera documentation in users guide results in 404 error. HOT 1
- Divide by zero or negative Sqrt HOT 1
- Code building with NaN fix HOT 1
- Turbine--Compute Normalized Flow Error HOT 2
- Flow correction in Turbine_NPSS HOT 1
- Bypass ratio HOT 1
- Memory leak when building code and running rapid accel HOT 2
- VG compressor 3dtable error HOT 2
- Nozzle pressure error when using CD nozzles HOT 1
- the VSV of High Pressure Compressor HOT 4
- On the input range HOT 1
- Power to Torque for T-MATS cantera shaft block HOT 1
- formatting of license HOT 2
- Test method for operation range HOT 1
- Adding power input to shaft HOT 1
- How to get value of variables from outside of the model function in PyscipOpt?
- Linearize HOT 10
- a question about Dynamic Dual Spool High Bypass Engine JT9D HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from t-mats.