Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 786369
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:01:48+00:00 2026-05-14T21:01:48+00:00

I would like to create an animation which enables the user to go backward

  • 0

I would like to create an animation which enables the user to go backward and forward through the steps of simulation.

An animation has to simulate the iterative process of channel decoding (a receiver receives a block of bits, performs an operation and then checks if the block corresponds to parity rules. If the block doesn’t correspond the operation is performed again and the process finally ends when the code corresponds to a given rules).

I have written the functions which perform the decoding process and return a m x n x i matrix where m x n is the block of data and i is the iteration index. So if it takes 3 iterations to decode the data the function returns a m x n x 3 matrix with each step is stired.

In the GUI (.fig file) I put a “decode” button which runs the method for decoding and there are buttons “back” and “forward” which have to enable the user to switch between the data of recorded steps.

I have stored the “decodedData” matrix and currentStep value as a global variable so by clicking “forward” and “next” buttons the indices have to change and point to appropriate step states.

When I tried to debug the application the method returned the decoded data but when I tried to click “back” and “next” the decoded data appeared not to be declared.

Does anyone know how is it possible to access (or store) the results of the functions in order to enable the described logic which I want to implement in Matlab GUI?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:01:48+00:00Added an answer on May 14, 2026 at 9:01 pm

    Ultimately, this is a scoping of variables problem.

    Global variables is rarely the right answer.

    This video discusses the handles structure in GUIDE:
    http://blogs.mathworks.com/videos/2008/04/17/advanced-matlab-handles-and-other-inputs-to-guide-callbacks/

    This video discusses sharing of variables between GUIs and could apply to a single GUI problem also.
    http://blogs.mathworks.com/videos/2005/10/03/guide-video-part-two/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to create an animation to demonstrate LDPC coding which is based
Hello I would like to create a zoom like animation on my page which
I would like to create programmatically an animation for the background color of a
i would like create a array of structure which have a dynamic array :
I would like to create an application which can learn to classify a sequence
I would like to know which method should I choose when trying to create
I have a project in which I would like to programatically create and render
I would like to apply a fade-in animation to an ImageView to create the
I would like to create this shape using just css. I am pretty sure
I would like to create a c++ type that mimic the build-in type exactly.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.