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

CortidQCT.saveModel is broken in MATLAB 2018b #47

Closed
ithron opened this issue Jan 30, 2019 · 3 comments
Closed

CortidQCT.saveModel is broken in MATLAB 2018b #47

ithron opened this issue Jan 30, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@ithron
Copy link
Owner

ithron commented Jan 30, 2019

Getting the following erroe message of Linux:

Error using CortidQCT.floatVector2base64
Invalid MEX-file '/somepath/MATLAB/Add-Ons/Toolboxes/CortidQCT/+CortidQCT/floatVector2base64.mexa64': Gateway
function is missing.

Error in CortidQCT.saveModel/encodeData (line 11)
        encodedData = CortidQCT.floatVector2base64(single(data(:)'));

Error in CortidQCT.saveModel (line 82)
    encDat = encodeData(voi.data);

Error in CortidQCT.CreateModel/SaveModelButtonPushed (line 576)
                CortidQCT.saveModel(app.model, [path file]);
 
Error using matlab.ui.control.internal.controller.ComponentController/executeUserCallback (line 335)
Error while evaluating Button PrivateButtonPushedFcn.
@ithron ithron added the bug Something isn't working label Jan 30, 2019
@ithron
Copy link
Owner Author

ithron commented Jan 30, 2019

This post suggest it can be solved by setting

set_target_properties(matlab PROPERTIES COMPILE_FLAGS "-fvisibility=default")

@ithron
Copy link
Owner Author

ithron commented Jan 30, 2019

That fixed it!

@ithron
Copy link
Owner Author

ithron commented Jan 30, 2019

Fixed in 287b241

@ithron ithron closed this as completed Jan 30, 2019
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

1 participant