I have a signal carrying a signed data type being fed into a bitwise operator block. The bitwise operator block, like in C in the attached model 'bitwise_sign.mdl' , does not operate on the sign bit. I would like to have the bitwise operator block work with the sign bit.
MATLAB: Can the Simulink 6.1 (R14SP1) bitwise operator block work with the sign bit
andbitbitwisechangechangednandnornotorsignsimulinkunchangedxor
Related Question
- Does the Inport use the value specified for its ‘Data type’ parameter even though I have ‘Specify properites via bus object’ selected in Simulink 6.2 (R14SP2)
- Do I see a discrepancy in the simulation results when I pass parameters using the -p option for the Rapid Simulation (RSim) target in Real-Time Workshop 6.1 (R14SP1)
- How to convert an unsigned integer to a signed integer without causing an overflow or using TYPECAST in Simulink 7.9 (R2012a)
- How to perform bitwise operations on other data types besides unsigned integers in MATLAB
- Does Simulink hang when I update the model in Simulink 5.0 (R13)
Best Answer