How can I change SlopeAdjustmentFactor ?
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have problem in SlopeAdjustmentFactor.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1540822/image.png)
The input and breakpoint data types of block 'untitled/PreLookupTable_LhObjEnd' do not have the same SlopeAdjustmentFactor. The breakpoint data type has a SlopeAdjustmentFactor of 1.600000 and the input data type has a SlopeAdjustmentFactor of 1.000000.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1540827/image.png)
This is my 'untitled/PreLookupTable_LhObjEnd' and how can I modify SlopeAdjustmentFactor to 1.000000?
0 Commenti
Risposta accettata
madhan ravi
il 30 Nov 2023
Modificato: madhan ravi
il 30 Nov 2023
You need to use Datatype Conversion block and set the Output data type to fixdt(0, 16, 1) [where 1 is the SlopeAdjustmentFactor] before the breakpoint is fed to the pre lookup block. And within the pre lookup block, set the Fraction data type to Inherit via Internal rule.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Event Functions 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!