Parameters shall be usable in expressions
Requirements now allow to define "Parameters". Would be nice if these parameters could be usable in the model itself.
#1 Updated by Anonymous over 3 years ago
- % Done changed from 0 to 70
parameters can now be used in the component architecture. they need however to be provided with a type so that this use is correct. Error message could be improved actually in case of missing type...
To use the parameter also in simulations, one also need to provide a value (which is not necessary if you just want to model symbolically). At the moment the error message in case of missing value is also not nice.
Only remaining task is to adapt code generation.
#4 Updated by Anonymous over 2 years ago
- Status changed from New to In Progress
- Assignee changed from Anonymous to Andreas Bayha
@Andreas: like for the other issue, this is about reuse. More precisely about projects with parameters.
We can now use the parameters in a model, but cannot do code generation. I think it's the only missing thing. Now a question would be if it really makes sense to have code generation for projects with parameters but I do think so. Parameters could be defined via preprocessor constants.