Issues when integrating Matlab!

Discussions about integrations with other 3th party tools

Moderator: Moderators

Issues when integrating Matlab!

Postby hanibalkhair@gmail.com » Mon Dec 12, 2016 11:57 pm

Hello

I’m trying to integrate Matlab with Cameo Simulator Tool (CST) version 18.5 beta.

I do the following steps:

1. After starting MagicDraw, I go to Tools —> Integrations —> choose Matlab —> press “Integrate/Remove Integration” button.
2. I select Matlab installed directory.
3. I enter my authentication password to my computer.
4. I get a dialogue box “This integration will be active once rebooting your OS”
5. I close “integration window”, exit MagicDraw, and reboot my computer.
6. I Open MagicDraw —> Tools —> Integrations —> Matlab is not integrated!

Did that a couple of times (Integrate Matlab —> reboot —> run MagicDraw —> Matlab is not integrated)

System Configuration:

MacOS Sierra Version 10.12.1, Cameo Simulation Tool 18.5 beta, MagicDraw 18.4, Matlab R2016b.

So, how can I integrate Matlab and Matlab is still integrated after rebooting?

Thanks.

P.S. When I run MagicDraw, I go to Applicaton —> MagicDraw —> bin —> MagicDraw. Then the Terminal screen opens. I wait for moments, then MagicDraw window opens.
hanibalkhair@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Mon Dec 12, 2016 11:22 pm

Re: Issues when integrating Matlab!

Postby jirawat.l@nomagic.com » Tue Dec 13, 2016 10:14 pm

Dear Customer,

Please run the MagicDraw by double click at Application -> MagicDraw -> MagicDraw.

If the status of MATLAB still "not integrated", Please make sure that the SIP(System Integrity Protection) feature is disabled. by following the step below
- start the terminal
- execute "csrutil status"

if the SIP is enabled, Please following the step below for disable it.
- Restart your Mac.
- As soon as the screen turns black, hold down the command+R keys to access the Recovery Partition.
- Release the keys once the Apple logo appears on your screen.
- Click the Utilities menu and select Terminal.
- Type "csrutil disable" into the Terminal window and press Return.
- The Terminal should display a message that SIP was disabled.
- Restart your Mac for the changes to take effect.
- Integrate the MATLAB again.

Best. regards,
No Magic Customer Support
jirawat.l@nomagic.com
Customer Support
Customer Support
 
Posts: 34
Posts Rating:3
Joined: Mon Nov 16, 2015 1:57 am

Re: Issues when integrating Matlab!

Postby hanibalkhair@gmail.com » Wed Dec 14, 2016 3:07 pm

Thank you for replying to my post.

I did that already before I started integrating Matlab. The System Integrity Protection (SIP) status is disabled.

As I said, I do integrate Matlab successfully. However, right after Matlab is integrated, a dialogue box pops up that says “This integration will be active once rebooting your OS”. I restart my computer, run MagicDraw, checks the integration, I find Matlab is not integrated!
hanibalkhair@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Mon Dec 12, 2016 11:22 pm

Re: Issues when integrating Matlab!

Postby jirawat.l@nomagic.com » Thu Dec 15, 2016 3:18 am

Dear Customer,

If the status of MATLAB still be "not integrate" althought you run the MagicDraw by double click at Applicaton —> MagicDraw —> MagicDraw.app

Please send the log file(magicdraw.log) of MagicDraw for investigation.
You can find the location of log file by following the step below
- Run MagicDraw
- select "Help -> About MagicDraw"
- select Environment tab

Best. regards,
No Magic Customer Support
jirawat.l@nomagic.com
Customer Support
Customer Support
 
Posts: 34
Posts Rating:3
Joined: Mon Nov 16, 2015 1:57 am

Re: Issues when integrating Matlab!

Postby hanibalkhair@gmail.com » Thu Dec 15, 2016 2:02 pm

The problem is solved. :)

The issue was that I run MagicDraw through MagicDraw.sh file from the  /bin directory (due to Mac OS X Sierra’s updated gatekeeper policy).

I followed these steps:
1 Open a terminal.
2 Using the terminal, open the MagicDraw installation directory.
3 Write the command: xattr -d com.apple.quarantine MagicDraw.app/
4 Close the terminal and start MagicDraw using the .app file.

Then I was able to run the MagicDraw by double click at Applicaton —> MagicDraw —> MagicDraw.app. When MagicDraw window was opened this way, I checked the integration, and found that Matlab was integrated.

Thanks a lot.
hanibalkhair@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 4
Posts Rating:0
Joined: Mon Dec 12, 2016 11:22 pm


Return to Integrations

Who is online

Users browsing this forum: No registered users and 0 guests

cron