Clear Filters
Clear Filters

How ro restore a fixed-pointed and saved model to its unfixed state?

1 view (last 30 days)
My fixed-pointed model has already saved .But I want to change some fuctions on its unfixed state.The "Restore Original Model"button just can restore the model which is being optimized.Is there a solution,please?

Accepted Answer

Brenda
Brenda on 19 May 2023
Edited: Brenda on 19 May 2023
Hi Chan,
Thanks for your question!
Since your model is already converted to fixed-point, you now may want to use Data Type Override functionalities to recover the floating-point behaviors before the conversion.
You only need to maintain one model for simulation behaviors in original floating-point and fixed-point.
You can also use Iterative workflow in Fixed-Point Tool to continue conversion steps in your current model.
You also described the challenge to track the changes during your modeling process. I suggest you check out the modeling tool called Design Evolutions. More specifically, you can follow the workflow steps from Fixed-Point Tool.
Feel free to ask more questions on MATLAB Answers when using the tools. Thanks!
  1 Comment
Zora Aria Jade
Zora Aria Jade on 21 May 2023
Edited: Zora Aria Jade on 21 May 2023
Thanks for your reminding! Using Design Evolution Manager with the Fixed-Point Tool is a good idea!
I will give it a try later.

Sign in to comment.

More Answers (1)

Kiran Kintali
Kiran Kintali on 19 May 2023
>>I want to change some fuctions on its unfixed state.
Do you mean the restore step in the Fixed-Point Tool failed for you and left you in the partially converted state?
Can you share the steps you have used to restore the model to its original state?
Restore Model to Original State
During the Prepare System for Conversion step, the Fixed-Point Tool creates a restore point for your model. After the conversion process, if you want to restore your model to its state at the start of the conversion process, in the Fixed-Point Tool, click Restore Original Model. The Fixed-Point Tool closes your model and reopens the model in its original state. Any changes made to your model after the preparation stage of the conversion are removed.
  2 Comments
Zora Aria Jade
Zora Aria Jade on 19 May 2023
Edited: Zora Aria Jade on 19 May 2023
Sorry,I did not make it clear. The restore step in the Fixed-Point Tool just can restore the model which is not saved.But my model has been saved, and I want to change something on its original state: lock all of its input ports to the same data type and then fix it again.
Kiran Kintali
Kiran Kintali on 19 May 2023
Unfortunately this may not be possible in the current workflow. Please reach out to tech support with your expectations on the workflow.

Sign in to comment.

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!