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

I can't use Homer3. Because , "fprintf" does not function well. #142

Open
OsHideyuki opened this issue Sep 9, 2022 · 1 comment
Open
Labels
bug Something isn't working

Comments

@OsHideyuki
Copy link

Version of Homer3 you are using
MATLAB Runtime R2021b, MATLAB R2017b; Windows 10 64-bit

Description of the issue

function SetLastCheckForUpdates(dt)
if ~exist('dt','var') && ispathvalid([getAppDir, 'LastCheckForUpdates.dat'])
    return;
end
if ~exist('dt','var')
    try
        dt = datetime;
    catch
        dt = -1;
    end
end
fd = fopen([getAppDir, 'LastCheckForUpdates.dat'],'wt');
fprintf(fd, '%s\n', dt);
fclose(fd);

I think fd should become 1 or 2.
But, this code make fd to -1 .
Please fix the program or commentes to me.

@OsHideyuki OsHideyuki added the bug Something isn't working label Sep 9, 2022
@anjula04
Copy link

anjula04 commented Apr 9, 2024

Got the same error in MATLAB2023b when the path was in the C:\Program files.... for which administrator rights are required. Didn't get this error when I moved the Homer root folder to another location/drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants