Send Inputs to MATLAB Function from Command Line of Raspberry Pi

2 views (last 30 days)
Hi
I tried this example
At the last step in this example
deploy(board,'simpleSum')
I received error
??? - specified in custom source files string does not exist in any of the following search directories:
C:\Users\nabeysingheherathm2\OneDrive - University of Nebraska-Lincoln\Desktop\ComputerVision\RaspberriPi\Sendcommandtest
C:\Users\nabeysingheherathm2\OneDrive - University of Nebraska-Lincoln\Desktop\ComputerVision\RaspberriPi\Sendcommandtest\codegen\exe\simpleSum
C:\Users\nabeysingheherathm2\OneDrive - University of Nebraska-Lincoln\Desktop\ComputerVision\RaspberriPi\Sendcommandtest
What may be the reason for this ?
  2 Comments
Nipuna
Nipuna on 15 Dec 2020
Well I found the answer for this issue by myself and this may be helpful for some one new to this task in the future.
I changed the Matlab folder for a shorter path. I created a folder in the C: drive and the program worked withou any issue.
May be the reason for problem may be the longer file path, or file storedr in cloud, hope this bug will be fixed in the future
Reeno Joseph
Reeno Joseph on 16 Dec 2020
Thank you Nipuna for identifying this bug. We will address it and the fix will be available with future updates.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!