Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: "Unrecognized function or variable 'saveimage' (line 598)" #1

Open
pelahm opened this issue Oct 26, 2023 · 1 comment
Open

Comments

@pelahm
Copy link

pelahm commented Oct 26, 2023

Hi
When i use the SmTr_AnalysisMOD the error message I'm receiving is: "Unrecognized function or variable 'saveimage' (line 598)." However, I couldn't find any reference to a function or variable named 'saveimage' in my code or the associated files.

I've performed the following steps to troubleshoot the issue:

  • Reviewed the error message to understand where 'saveimage' is being called.
  • Checked my code for any references to 'saveimage', but it does not appear to be defined in my code.
    Ensured that all necessary functions and scripts are in my MATLAB path.

I would greatly appreciate any insights, suggestions, or assistance in resolving this issue. If 'saveimage' is an external function or script, please let me know where I can find it

@DanielSlo
Copy link

Hello, are you using SmTr_AnalysisMOD as a primary access to the analysis portion of the program? The most updated form uses analyseMOD to run analysis and doesn't require user interaction with SmTr_AnalysisMOD. For further troubleshooting, saveimage is actually defined within AutoSmarTrace.m and should be working properly. You can find the full procedure outlined in the SmarTrace README but this should be the relevant section to you:

Data Analysis

analyseMOD('set_sample_name_SmTr.mat', 'output_name_of_choice',10,0,0) --> For the WLC model analysis

OR

analyseMOD('set_sample_name_SmTr.mat', 'output_name_of_choice',10,0,1) --> For the curved WLC model analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants